CVE-2022-24894
HIGH 8.8CVSS 3.1Symfony storing cookie headers in HttpCache
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.
- Published
- 3 Feb 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-285
- Also known as
- BIT-symfony-2022-24894GHSA-h7vf-5wrv-9fhv
- Sources
- NVDJSONOSV GHSA-h7vf-5wrv-9fhvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 2.0.0, < 4.4.50 | 4.4.50 |
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.4.2 | 5.4.2 |
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 6.0.0, < 6.0.20 | 6.0.20 |
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 6.1.0, < 6.1.12 | 6.1.12 |
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 6.2.0, < 6.2.6 | 6.2.6 |
| OSV | Packagist | symfony/http-kernel | >= 2.0.0, < 4.4.50 | 4.4.50 |
| OSV | Packagist | symfony/http-kernel | >= 5.0.0, < 5.4.20 | 5.4.20 |
| OSV | Packagist | symfony/http-kernel | >= 6.0.0, < 6.0.20 | 6.0.20 |
| OSV | Packagist | symfony/http-kernel | >= 6.1.0, < 6.1.12 | 6.1.12 |
| OSV | Packagist | symfony/http-kernel | >= 6.2.0, < 6.2.6 | 6.2.6 |
| OSV | Packagist | symfony/symfony | >= 2.0.0, < 4.4.50 | 4.4.50 |
| OSV | Packagist | symfony/symfony | >= 5.0.0, < 5.4.20 | 5.4.20 |
| OSV | Packagist | symfony/symfony | >= 6.0.0, < 6.0.20 | 6.0.20 |
| OSV | Packagist | symfony/symfony | >= 6.1.0, < 6.1.12 | 6.1.12 |
| OSV | Packagist | symfony/symfony | >= 6.2.0, < 6.2.6 | 6.2.6 |
References
- https://github.com/symfony/symfony/commit/d2f6322af9444ac5cd1ef3ac6f280dbef7f9d1fb · Patch, WEB
- https://github.com/symfony/symfony/security/advisories/GHSA-h7vf-5wrv-9fhv · Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html · Mailing List, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-24894 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-kernel/CVE-2022-24894.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2022-24894.yaml · WEB
- https://github.com/symfony/symfony · PACKAGE
- https://symfony.com/cve-2022-24894 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 3 Feb 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 1 Feb 2023)