CVE-2022-24894

Symfony storing cookie headers in HttpCache

State
Published
Severity
5.9 Medium
Published
Feb 3, 2023
Updated
Mar 10, 2025
Reserved
Feb 10, 2022

Read the record on cve.org

Description

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. The Symfony HTTP cache system, acts as a reverse proxy: It caches entire responses (including headers) and returns them to the clients. In a recent change in the `AbstractSessionListener`, the response might contain a `Set-Cookie` header. If the Symfony HTTP cache system is enabled, this response might bill stored and return to the next clients. An attacker can use this vulnerability to retrieve the victim's session. This issue has been patched and is available for branch 4.4.

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:LGitHub_M

Weaknesses

Affected Products

ProductVersions
symfonysymfony
  • >= 2.0.0, < 4.4.50Affected
  • >= 5.0.0, < 5.4.20Affected
  • >= 6.0.0, < 6.0.20Affected
  • >= 6.1.0, < 6.1.12Affected
  • >= 6.2.0, < 6.2.6Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.