CVE-2022-24894
Symfony storing cookie headers in HttpCache
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.
How to fix CVE-2022-24894
To remediate CVE-2022-24894, upgrade the affected package to a fixed version below.
- —upgrade to 4.4.50 or later
- —upgrade to 4.4.19+dfsg-2+deb11u2 or later
- —upgrade to 4.4.50 or later
- —upgrade to 4.4.50 or later
Is CVE-2022-24894 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- >= 2.0.0, < 4.4.50, >= 5.0.0, < 5.4.2, >= 6.0.0, < 6.0.20, >= 6.1.0, < 6.1.12, >= 6.2.0, < 6.2.6
- from 0, < 4.4.19+dfsg-2+deb11u2
- >= 2.0.0, < 4.4.50
- >= 2.0.0, < 4.4.50
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L |