Security::login does not take into account custom user_checker in symfony/security-bundle
Summary
Security::login does not take into account custom user_checker in symfony/security-bundle
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2024-50341 symfony Fixed in: 6.4.10+dfsg-1
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com