Skip to content
porro

Advisories  /  composer  /  symfony/symfony  /  CVE-2022-24894

MODERATE5.9 Composer

Symfony storing cookie headers in HttpCache (CVE-2022-24894)

CVE-2022-24894 GHSA-h7vf-5wrv-9fhv Published 1 Feb 2023

Affects 2 packages. Each has a fixed release.

$ composer require symfony/symfony:^4.4.50
$ composer require symfony/symfony:^5.4.20
$ composer require symfony/symfony:^6.0.20
$ composer require symfony/symfony:^6.1.12
$ composer require symfony/http-kernel:^4.4.50
$ composer require symfony/http-kernel:^5.4.20

Which versions are affected

Package Affected Fixed in
symfony/symfony ≥ 2.0.0, < 4.4.50≥ 5.0.0, < 5.4.20≥ 6.0.0, < 6.0.20≥ 6.1.0, < 6.1.12≥ 6.2.0, < 6.2.6 4.4.505.4.206.0.206.1.126.2.6
symfony/http-kernel ≥ 2.0.0, < 4.4.50≥ 5.0.0, < 5.4.20≥ 6.0.0, < 6.0.20≥ 6.1.0, < 6.1.12≥ 6.2.0, < 6.2.6 4.4.505.4.206.0.206.1.126.2.6

Check a site from its project folder: composer show symfony/symfony shows the installed version. Or paste the lock file into the lock file checker to check every package at once.

Timeline

  1. Advisory published, with a fix

Questions

Which version of symfony/symfony is safe from CVE-2022-24894?

6.2.6 and later. Versions affected: ≥ 2.0.0, < 4.4.50, ≥ 5.0.0, < 5.4.20, ≥ 6.0.0, < 6.0.20, ≥ 6.1.0, < 6.1.12, ≥ 6.2.0, < 6.2.6.

Which version of symfony/http-kernel is safe from CVE-2022-24894?

6.2.6 and later. Versions affected: ≥ 2.0.0, < 4.4.50, ≥ 5.0.0, < 5.4.20, ≥ 6.0.0, < 6.0.20, ≥ 6.1.0, < 6.1.12, ≥ 6.2.0, < 6.2.6.