CWE-1473
Improper Expiration of Cached Data
Description
The product uses or supports data in a cache, but it does not properly specify an expiration with a date, time, or time period that is sufficient for the intended security policy of the product or its adminstrators.
Consequences
Access Control, Integrity, Other
—
Gain Privileges or Assume Identity, Bypass Protection Mechanism, Unexpected State, Varies by Context
Mitigations
Phase: Architecture and Design, Implementation
For each type of cached data, determine the best lifetime that balances efficiency provided by the cache with the security implications of the data becoming too stale. Explicitly specify an expiration date or time period.