Skip to content
porro

Advisories  /  composer  /  symfony/security-bundle  /  CVE-2022-24895

MODERATE6.3 Composer

Symfony vulnerable to Session Fixation of CSRF tokens (CVE-2022-24895)

CVE-2022-24895 GHSA-3gv2-29qc-v67m Published 1 Feb 2023

Affects 2 packages. Each has a fixed release.

$ composer require symfony/security-bundle:^4.4.50
$ composer require symfony/security-bundle:^5.4.20
$ composer require symfony/security-bundle:^6.0.20
$ composer require symfony/security-bundle:^6.1.12
$ composer require symfony/symfony:^4.4.50
$ composer require symfony/symfony:^5.4.20

Which versions are affected

Package Affected Fixed in
symfony/security-bundle ≥ 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/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

Check a site from its project folder: composer show symfony/security-bundle 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/security-bundle is safe from CVE-2022-24895?

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/symfony is safe from CVE-2022-24895?

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.