CVEfocus › CVE database › CVE-2022-24894

CVE-2022-24894Symfony storing cookie headers in HttpCache

CVSS 5.9 MediumEPSS 4.8% (higher than 93% of CVEs)Published 2023-02-03Updated 2025-03-10Assigner: GitHub_M

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.

CWE-285

What to do

Fixed builds are available from Debian, Packagist: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
4Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04symfonyNot affected
vulnerable_code_not_present
Ubuntu 25.10symfonyNot affected
vulnerable_code_not_present
Ubuntu 22.04symfonyFix pending5.4.4+dfsg-1ubuntu8+esm1 (Ubuntu Pro)UBUNTU-CVE-2022-24894
Ubuntu 20.04symfonyFix pending4.3.8+dfsg-1ubuntu1+esm2 (Ubuntu Pro)UBUNTU-CVE-2022-24894
Ubuntu 18.04symfonyFix pendingUBUNTU-CVE-2022-24894
Ubuntu 16.04symfonyFix pendingUBUNTU-CVE-2022-24894
Debian 14symfonyFixed5.4.20+dfsg-1DEBIAN-CVE-2022-24894
Debian 13symfonyFixed5.4.20+dfsg-1DEBIAN-CVE-2022-24894
Debian 12symfonyFixed5.4.20+dfsg-1DEBIAN-CVE-2022-24894
Packagist librarysymfony/http-kernelFixed5.4.20GHSA-h7vf-5wrv-9fhv
Packagist librarysymfony/symfonyFixed6.1.12GHSA-h7vf-5wrv-9fhv

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.