{"id":"CVE-2022-24894","published":"2023-02-03T21:46:23Z","modified":"2025-03-10T21:16:23Z","title":"Symfony storing cookie headers in HttpCache","vendor":"symfony","product":"symfony","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04107,"percentile":0.91006,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-h7vf-5wrv-9fhv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/symfony/symfony/commit/d2f6322af9444ac5cd1ef3ac6f280dbef7f9d1fb","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html","tags":[]}],"priority":{"score":27.3,"factors":[{"name":"EPSS percentile","points":18.2},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.13}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-05-07","earliestUrl":"https://github.com/moften/Symfony-CVE-Scanner-PoC-","repos":[{"name":"moften/Symfony-CVE-Scanner-PoC-","url":"https://github.com/moften/Symfony-CVE-Scanner-PoC-","stars":0,"created":"2025-05-07"}]},"first":{"date":"2025-05-07","source":"PoC-in-GitHub","url":"https://github.com/moften/Symfony-CVE-Scanner-PoC-"},"provenance":"source"},"vendorSlug":"symfony","affectedVersions":[{"vendor":"symfony","product":"symfony","versions":[">= 2.0.0, < 4.4.50",">= 5.0.0, < 5.4.20",">= 6.0.0, < 6.0.20",">= 6.1.0, < 6.1.12",">= 6.2.0, < 6.2.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-10T20:58:29.599266Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"symfony/http-kernel","vulnerableRanges":[">=2.0.0, <4.4.50",">=5.0.0, <5.4.20",">=6.0.0, <6.0.20",">=6.1.0, <6.1.12",">=6.2.0, <6.2.6"],"patched":["4.4.50","5.4.20","6.0.20","6.1.12","6.2.6"],"from":["GHSA-h7vf-5wrv-9fhv"],"provenance":"source"},{"ecosystem":"Packagist","package":"symfony/symfony","vulnerableRanges":[">=2.0.0, <4.4.50",">=5.0.0, <5.4.20",">=6.0.0, <6.0.20",">=6.1.0, <6.1.12",">=6.2.0, <6.2.6"],"patched":["4.4.50","5.4.20","6.0.20","6.1.12","6.2.6"],"from":["GHSA-h7vf-5wrv-9fhv"],"provenance":"source"}],"summary":{"text":"The Symfony HTTP cache (reverse proxy) component in the symfony product stores responses that include a Set-Cookie header, because of a recent change in AbstractSessionListener. When the Symfony HTTP cache is enabled, an attacker can retrieve a victim's session by receiving a cached response containing that victim's cookie, which requires low privileges and user interaction and is only possible in a configuration with the HTTP cache enabled.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:56:47Z"},"euvd":{"id":"EUVD-2023-0715","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-18887","published":"2019-11-21","fixed":"4.3.8","kev":false},{"cve":"CVE-2020-15094","published":"2020-09-02","fixed":"5.1.5","kev":false},{"cve":"CVE-2021-41267","published":"2021-11-24","fixed":"5.3.12","kev":false,"link":{"from":"CVE-2021-41267","to":"CVE-2022-24894","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:symfony/http-kernel","fromFixed":"5.3.12","toFixed":"5.4.20","daysApart":436}]}},{"cve":"CVE-2022-24894","published":"2023-02-03","fixed":"6.2.6","kev":false},{"cve":"CVE-2026-45075","published":"2026-07-14","fixed":"8.0.12","kev":false}],"package":"Packagist:symfony/http-kernel"}}