CVE-2022-24894

Severity CVSS v4.0:
Pending analysis
Type:
CWE-285 Improper Authorization
Publication date:
03/02/2023
Last modified:
10/04/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* 2.0.0 (including) 4.4.50 (excluding)
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* 5.0.0 (including) 5.4.2 (excluding)
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* 6.0.0 (including) 6.0.20 (excluding)
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* 6.1.0 (including) 6.1.12 (excluding)
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* 6.2.0 (including) 6.2.6 (excluding)