Live threats

All CVEs / Sensiolabs

CVE-2022-24894Sensiolabs Symfony

High 8.8 No auth needed

Priority
68
CVSS 3.1
8.8
EPSS
4.8%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
Feb 3, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-285
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Symfony.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist symfony/http-kernel ≥ 2.0.0 < 4.4.50 4.4.50 composer require "symfony/http-kernel:^4.4.50"
Packagist symfony/http-kernel ≥ 5.0.0 < 5.4.20 5.4.20 composer require "symfony/http-kernel:^5.4.20"
Packagist symfony/http-kernel ≥ 6.0.0 < 6.0.20 6.0.20 composer require "symfony/http-kernel:^6.0.20"
Packagist symfony/http-kernel ≥ 6.1.0 < 6.1.12 6.1.12 composer require "symfony/http-kernel:^6.1.12"
Packagist symfony/http-kernel ≥ 6.2.0 < 6.2.6 6.2.6 composer require "symfony/http-kernel:^6.2.6"
Packagist symfony/symfony ≥ 2.0.0 < 4.4.50 4.4.50 composer require "symfony/symfony:^4.4.50"
Packagist symfony/symfony ≥ 5.0.0 < 5.4.20 5.4.20 composer require "symfony/symfony:^5.4.20"
Packagist symfony/symfony ≥ 6.0.0 < 6.0.20 6.0.20 composer require "symfony/symfony:^6.0.20"
Packagist symfony/symfony ≥ 6.1.0 < 6.1.12 6.1.12 composer require "symfony/symfony:^6.1.12"
Packagist symfony/symfony ≥ 6.2.0 < 6.2.6 6.2.6 composer require "symfony/symfony:^6.2.6"

Per OSV / GitHub Advisories (GHSA-h7vf-5wrv-9fhv). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sensiolabssymfony≥ 2.0.0 < 4.4.50
sensiolabssymfony≥ 5.0.0 < 5.4.2
sensiolabssymfony≥ 6.0.0 < 6.0.20
sensiolabssymfony≥ 6.1.0 < 6.1.12
sensiolabssymfony≥ 6.2.0 < 6.2.6

Official sources

References

Links published by the sources. Open them with care.