Kurz gesagt
- CVE-2024-50341 ist eine Schwachstelle (NIEDRIG (CVSS 3.1)) in symfony/security-bundle, symfony/symfony.
- Wahrscheinlichkeit einer Ausnutzung in den nächsten 30 Tagen (EPSS): 0.31%, höher als bei 24.0% aller Schwachstellen.
- Abhilfe: auf 6.4.10, 7.0.10, 7.1.3 oder neuer aktualisieren.
| Package | Affected versions | Patched versions |
|---|
| symfony/security-bundle Packagist | ≥ 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 Packagist | ≥ 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
|
Description
Description
The custom user_checker defined on a firewall is not called when Login Programmaticaly with the Security::login method, leading to unwanted login.
Resolution
The Security::login method now ensure to call the configured user_checker.
The patch for this issue is available here for branch 6.4.
Credits
We would like to thank Oleg Andreyev, Antoine MAKDESSI for reporting the issue and Christian Flothmann for providing the fix.
NVD description
symfony/security-bundle is a module for the Symphony PHP framework which provides a tight integration of the Security component into the Symfony full-stack framework. The custom `user_checker` defined on a firewall is not called when Login Programmaticaly with the `Security::login` method, leading to unwanted login. As of versions 6.4.10, 7.0.10 and 7.1.3 the `Security::login` method now ensure to call the configured `user_checker`. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free