Skip to content
porro

Advisories  /  composer  /  symfony/security-bundle  /  CVE-2024-50341

LOW3.1 Composer

Symfony's `Security::login` does not take into account custom `user_checker` (CVE-2024-50341)

CVE-2024-50341 GHSA-jxgr-3v7q-3w9v Published 6 Nov 2024

Affects 2 packages. Each has a fixed release.

$ composer require symfony/security-bundle:^6.4.10
$ composer require symfony/security-bundle:^7.0.10
$ composer require symfony/security-bundle:^7.1.3
$ composer require symfony/symfony:^6.4.10
$ composer require symfony/symfony:^7.0.10
$ composer require symfony/symfony:^7.1.3

Which versions are affected

Package Affected Fixed in
symfony/security-bundle ≥ 6.2.0, < 6.4.10≥ 7.0.0, < 7.0.10≥ 7.1.0, < 7.1.3 6.4.107.0.107.1.3
symfony/symfony ≥ 6.2.0, < 6.4.10≥ 7.0.0, < 7.0.10≥ 7.1.0, < 7.1.3 6.4.107.0.107.1.3

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-2024-50341?

7.1.3 and later. Versions affected: ≥ 6.2.0, < 6.4.10, ≥ 7.0.0, < 7.0.10, ≥ 7.1.0, < 7.1.3.

Which version of symfony/symfony is safe from CVE-2024-50341?

7.1.3 and later. Versions affected: ≥ 6.2.0, < 6.4.10, ≥ 7.0.0, < 7.0.10, ≥ 7.1.0, < 7.1.3.