Read the docs
TI-2022-08704 Aliases CVE-2022-24894GHSA-h7vf-5wrv-9fhv

Symfony storing cookie headers in HttpCache

Priority MEDIUM 45CWE-285Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-285.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.03998 90th percentileScored 2026-11-07
Fix Fixed symfony (symfony): 4.4.50, 5.4.20, 6.0.20 +2symfony/http-kernel (Packagist): 4.4.50, 5.4.20, 6.0.20 +2+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
symfonysymfony2.0.0 to before 4.4.50; 5.0.0 to before 5.4.20; 6.0.0 to before 6.0.20; 6.1.0 to before 6.1.12; 6.2.0 to before 6.2.64.4.50, 5.4.20, 6.0.20, 6.1.12, 6.2.6Patch availableCNA
—symfony/http-kernel (Packagist)2.0.0 to before 4.4.504.4.50Patch availableGHSA-h7vf-5wrv-9fhv
—symfony/http-kernel (Packagist)5.0.0 to before 5.4.205.4.20Patch availableGHSA-h7vf-5wrv-9fhv
—symfony/http-kernel (Packagist)6.0.0 to before 6.0.206.0.20Patch availableGHSA-h7vf-5wrv-9fhv
—symfony/http-kernel (Packagist)6.1.0 to before 6.1.126.1.12Patch availableGHSA-h7vf-5wrv-9fhv
—symfony/http-kernel (Packagist)6.2.0 to before 6.2.66.2.6Patch availableGHSA-h7vf-5wrv-9fhv
—symfony/symfony (Packagist)2.0.0 to before 4.4.504.4.50Patch availableGHSA-h7vf-5wrv-9fhv
—symfony/symfony (Packagist)5.0.0 to before 5.4.205.4.20Patch availableGHSA-h7vf-5wrv-9fhv
—symfony/symfony (Packagist)6.0.0 to before 6.0.206.0.20Patch availableGHSA-h7vf-5wrv-9fhv
—symfony/symfony (Packagist)6.1.0 to before 6.1.126.1.12Patch availableGHSA-h7vf-5wrv-9fhv
—symfony/symfony (Packagist)6.2.0 to before 6.2.66.2.6Patch availableGHSA-h7vf-5wrv-9fhv
  • symfony Vendorsymfony Affected 2.0.0 to before 4.4.50; 5.0.0 to before 5.4.20; 6.0.0 to before 6.0.20; 6.1.0 to before 6.1.12; 6.2.0 to before 6.2.6 Fixed in 4.4.50, 5.4.20, 6.0.20, 6.1.12, 6.2.6 Patch available CNA
  • symfony/http-kernel (Packagist) Vendor— Affected 2.0.0 to before 4.4.50 Fixed in 4.4.50 Patch available GHSA-h7vf-5wrv-9fhv
  • symfony/http-kernel (Packagist) Vendor— Affected 5.0.0 to before 5.4.20 Fixed in 5.4.20 Patch available GHSA-h7vf-5wrv-9fhv
  • symfony/http-kernel (Packagist) Vendor— Affected 6.0.0 to before 6.0.20 Fixed in 6.0.20 Patch available GHSA-h7vf-5wrv-9fhv
  • symfony/http-kernel (Packagist) Vendor— Affected 6.1.0 to before 6.1.12 Fixed in 6.1.12 Patch available GHSA-h7vf-5wrv-9fhv
  • symfony/http-kernel (Packagist) Vendor— Affected 6.2.0 to before 6.2.6 Fixed in 6.2.6 Patch available GHSA-h7vf-5wrv-9fhv
  • symfony/symfony (Packagist) Vendor— Affected 2.0.0 to before 4.4.50 Fixed in 4.4.50 Patch available GHSA-h7vf-5wrv-9fhv
  • symfony/symfony (Packagist) Vendor— Affected 5.0.0 to before 5.4.20 Fixed in 5.4.20 Patch available GHSA-h7vf-5wrv-9fhv
  • symfony/symfony (Packagist) Vendor— Affected 6.0.0 to before 6.0.20 Fixed in 6.0.20 Patch available GHSA-h7vf-5wrv-9fhv
  • symfony/symfony (Packagist) Vendor— Affected 6.1.0 to before 6.1.12 Fixed in 6.1.12 Patch available GHSA-h7vf-5wrv-9fhv
  • symfony/symfony (Packagist) Vendor— Affected 6.2.0 to before 6.2.6 Fixed in 6.2.6 Patch available GHSA-h7vf-5wrv-9fhv

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*2.0.0 to before 4.4.50; 5.0.0 to before 5.4.2; 6.0.0 to before 6.0.20; 6.1.0 to before 6.1.12; 6.2.0 to before 6.2.6Vulnerablesensiolabs
  • cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* Versions 2.0.0 to before 4.4.50; 5.0.0 to before 5.4.2; 6.0.0 to before 6.0.20; 6.1.0 to before 6.1.12; 6.2.0 to before 6.2.6 Vulnerable ·sensiolabs

Remediation

  • Fix · CNA symfony (symfony) Fixed in 4.4.50, 5.4.20, 6.0.20, 6.1.12, 6.2.6
  • Fix · GHSA-h7vf-5wrv-9fhv symfony/http-kernel (Packagist) Fixed in 4.4.50 Advisory →
  • Fix · GHSA-h7vf-5wrv-9fhv symfony/http-kernel (Packagist) Fixed in 5.4.20 Advisory →
  • Fix · GHSA-h7vf-5wrv-9fhv symfony/http-kernel (Packagist) Fixed in 6.0.20 Advisory →
  • Fix · GHSA-h7vf-5wrv-9fhv symfony/http-kernel (Packagist) Fixed in 6.1.12 Advisory →
  • Fix · GHSA-h7vf-5wrv-9fhv symfony/http-kernel (Packagist) Fixed in 6.2.6 Advisory →
  • Fix · GHSA-h7vf-5wrv-9fhv symfony/symfony (Packagist) Fixed in 4.4.50 Advisory →
  • Fix · GHSA-h7vf-5wrv-9fhv symfony/symfony (Packagist) Fixed in 5.4.20 Advisory →
  • Fix · GHSA-h7vf-5wrv-9fhv symfony/symfony (Packagist) Fixed in 6.0.20 Advisory →
  • Fix · GHSA-h7vf-5wrv-9fhv symfony/symfony (Packagist) Fixed in 6.1.12 Advisory →
  • Fix · GHSA-h7vf-5wrv-9fhv symfony/symfony (Packagist) Fixed in 6.2.6 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-24894
  2. 2026-10-03 Alias added: GHSA-h7vf-5wrv-9fhv

References

  • TI-2024-33775 Ability to change environment from query in symfony/runtime CVSS 3.1HIGH 7.3
  • TI-2026-34283 Twig: The `spaceless` filter implicitly marks its output as safe CVSS 4.0MEDIUM 5.1
  • TI-2022-07667 Code injection in Twig CVSS 3.1CRITICAL 9.8
  • TI-2018-10028 Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key… CVSS 3.0CRITICAL 9.8
  • TI-2026-35851 Incorrect authorization in symfony CVSS 4.0HIGH 8.7
  • TI-2026-35264 Improper input validation in symfony CVSS 4.0HIGH 8.3
See all 94 →

Sources