VDB

CVE-2022-24894

CVE-2022-24894 PUBLISHED CVSS 5.9 MEDIUM

Symfony storing cookie headers in HttpCache

Reported by github_m · Published February 3, 2023

symfony/symfony is fixed in 6.2.6, 6.1.12, 6.0.20 and 2 more (Packagist)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
symfony/symfonyPackagist6.2.6, 6.1.12, 6.0.20, 5.4.20, 4.4.50
symfony/formPackagist6.2.6, 6.1.12, 6.0.20, 5.4.2, 4.4.50
symfony/http-kernelPackagist6.2.6, 6.1.12, 6.0.20, 5.4.20, 4.4.50
symfonysensiolabs6.2.6, 6.1.12, 6.0.20, 5.4.2, 4.4.50

Risk scores

CVSS 3.1
5.9
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L

Affected products

VendorProductVersions
symfonysymfony>= 2.0.0, < 4.4.50, >= 5.0.0, < 5.4.20, >= 6.0.0, < 6.0.20
symfonysymfony2.0.0, 5.0.0, 6.0.0
symfonyform2.0.0, 5.0.0, 6.0.0
symfonysymfony2.0.0, 5.0.0, 6.0.0

Timeline

  • Feb 1, 2023 CVE Published
  • Feb 4, 2023 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory
  • Jul 1, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-24894
vulnetix vdb fixes CVE-2022-24894

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-24894/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›