CVE-2022-24894
published 2023-02-03CVE-2022-24894: 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…
PriorityP341high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
0.75%
51.0th percentile
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.
Affected
28 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | symfony | < symfony 5.4.20+dfsg-1 (bookworm) | symfony 5.4.20+dfsg-1 (bookworm) |
| sensiolabs | symfony | >= 2.0.0 < 4.4.50 | 4.4.50 |
| sensiolabs | symfony | >= 5.0.0 < 5.4.2 | 5.4.2 |
| sensiolabs | symfony | >= 6.0.0 < 6.0.20 | 6.0.20 |
| sensiolabs | symfony | >= 6.1.0 < 6.1.12 | 6.1.12 |
| sensiolabs | symfony | >= 6.2.0 < 6.2.6 | 6.2.6 |
| symfony | http-kernel | >= 2.0.0 < 4.4.50 | 4.4.50 |
| symfony | http-kernel | >= 5.0.0 < 5.4.20 | 5.4.20 |
| symfony | http-kernel | >= 6.0.0 < 6.0.20 | 6.0.20 |
| symfony | http-kernel | >= 6.1.0 < 6.1.12 | 6.1.12 |
| symfony | http-kernel | >= 6.2.0 < 6.2.6 | 6.2.6 |
| symfony | symfony | — | — |
| symfony | symfony | — | — |
| symfony | symfony | — | — |
| symfony | symfony | — | — |
| symfony | symfony | — | — |
| symfony | symfony | >= 0 < 4.4.19+dfsg-2+deb11u2 | 4.4.19+dfsg-2+deb11u2 |
| symfony | symfony | >= 0 < 5.4.20+dfsg-1 | 5.4.20+dfsg-1 |
| symfony | symfony | >= 0 < 5.4.20+dfsg-1 | 5.4.20+dfsg-1 |
| symfony | symfony | >= 0 < 5.4.20+dfsg-1 | 5.4.20+dfsg-1 |
| symfony | symfony | >= 0 < 4.3.8+dfsg-1ubuntu1+esm2 | 4.3.8+dfsg-1ubuntu1+esm2 |
| symfony | symfony | >= 0 < 5.4.4+dfsg-1ubuntu8+esm1 | 5.4.4+dfsg-1ubuntu8+esm1 |
| symfony | symfony | >= 0 < 6.4.5+dfsg-3ubuntu3+esm1 | 6.4.5+dfsg-3ubuntu3+esm1 |
| symfony | symfony | >= 2.0.0 < 4.4.50 | 4.4.50 |
| symfony | symfony | >= 5.0.0 < 5.4.20 | 5.4.20 |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
osv8.8HIGH
vendor_debian5.9MEDIUM
vendor_ubuntu5.9MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
symfony vulnerabilities
osv·2025-02-18·CVSS 8.8
CVE-2022-24894 [HIGH] symfony vulnerabilities
symfony vulnerabilities
Soner Sayakci discovered that Symfony incorrectly handled cookie storage in
the web cache. An attacker could possibly use this issue to obtain
sensitive information and access unauthorized resources. (CVE-2022-24894)
Marco Squarcina discovered that Symfony incorrectly handled the storage of
user session information. An attacker could possibly use this issue to
perform a cross-site request forgery (CSRF) attack. (CVE-2022-24895)
Pierre Rudloff discovered that Symfony incorrectly checked HTML input. An
attacker could possibly use this issue to perform cross site scripting.
(CVE-2023-46734)
Vladimir Dusheyko discovered that Symfony incorrectly sanitized special
input with a PHP directive in URL query strings. An attacker could possibly
use this issue to expose sens
OSV
CVE-2022-24894: Symfony is a PHP framework for web and console applications and a set of reusable PHP components
osv·2023-02-03·CVSS 8.8
CVE-2022-24894 [HIGH] CVE-2022-24894: Symfony is a PHP framework for web and console applications and a set of reusable PHP components
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.
GHSA
Symfony storing cookie headers in HttpCache
ghsa·2023-02-01
CVE-2022-24894 [MEDIUM] CWE-285 Symfony storing cookie headers in HttpCache
Symfony storing cookie headers in HttpCache
Description
The Symfony HTTP cache system acts as a reverse proxy: it caches HTTP responses (including headers) and returns them to clients.
In a recent `AbstractSessionListener` change, the response might now contain a `Set-Cookie` header. If the Symfony HTTP cache system is enabled, this header might be stored and returned to some other clients. An attacker can use this vulnerability to retrieve the victim's session.
Resolution
The `HttpStore` constructor now takes a parameter containing a list of private headers that are removed from the HTTP response headers.
The default value for this parameter is `Set-Cookie`, but it can be overridden or extended by the application.
The patch for this issue is available [here](https://github.com/symfo
OSV
Symfony storing cookie headers in HttpCache
osv·2023-02-01
CVE-2022-24894 [MEDIUM] Symfony storing cookie headers in HttpCache
Symfony storing cookie headers in HttpCache
Description
The Symfony HTTP cache system acts as a reverse proxy: it caches HTTP responses (including headers) and returns them to clients.
In a recent `AbstractSessionListener` change, the response might now contain a `Set-Cookie` header. If the Symfony HTTP cache system is enabled, this header might be stored and returned to some other clients. An attacker can use this vulnerability to retrieve the victim's session.
Resolution
The `HttpStore` constructor now takes a parameter containing a list of private headers that are removed from the HTTP response headers.
The default value for this parameter is `Set-Cookie`, but it can be overridden or extended by the application.
The patch for this issue is available [here](https://github.com/symfo
Ubuntu
Symfony vulnerabilities
vendor_ubuntu·2025-02-18·CVSS 5.9
CVE-2022-24895 [MEDIUM] Symfony vulnerabilities
Title: Symfony vulnerabilities
Summary: Several security issues were fixed in Symfony.
Soner Sayakci discovered that Symfony incorrectly handled cookie storage in
the web cache. An attacker could possibly use this issue to obtain
sensitive information and access unauthorized resources. (CVE-2022-24894)
Marco Squarcina discovered that Symfony incorrectly handled the storage of
user session information. An attacker could possibly use this issue to
perform a cross-site request forgery (CSRF) attack. (CVE-2022-24895)
Pierre Rudloff discovered that Symfony incorrectly checked HTML input. An
attacker could possibly use this issue to perform cross site scripting.
(CVE-2023-46734)
Vladimir Dusheyko discovered that Symfony incorrectly sanitized special
input with a PHP directive in URL query s
Debian
CVE-2022-24894: symfony - Symfony is a PHP framework for web and console applications and a set of reusabl...
vendor_debian·2022·CVSS 5.9
CVE-2022-24894 [MEDIUM] CVE-2022-24894: symfony - Symfony is a PHP framework for web and console applications and a set of reusabl...
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.
Scope: local
bookworm: resolved (fixed in 5.4.20+dfsg-1)
bullseye: resolved (fixed in 4.4.19+dfsg-2+deb11u2)
forky: resolved (fixed in 5.4.20+dfsg-1)
sid: resolved (fixed in 5.4.20+dfsg-1)
trixie: resolved (fixed in 5.4.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/symfony/symfony/commit/d2f6322af9444ac5cd1ef3ac6f280dbef7f9d1fbhttps://github.com/symfony/symfony/security/advisories/GHSA-h7vf-5wrv-9fhvhttps://lists.debian.org/debian-lts-announce/2023/07/msg00014.htmlhttps://github.com/symfony/symfony/commit/d2f6322af9444ac5cd1ef3ac6f280dbef7f9d1fbhttps://github.com/symfony/symfony/security/advisories/GHSA-h7vf-5wrv-9fhvhttps://lists.debian.org/debian-lts-announce/2023/07/msg00014.html
2023-02-03
Published