CVE-2024-50341: Symfony's `Security::login` does not take into account custom `user_checker`
The custom user_checker
defined on a firewall is not called when Login Programmaticaly with the Security::login
method, leading to unwanted login.
References
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2024-50341.yaml
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50341.yaml
- github.com/advisories/GHSA-jxgr-3v7q-3w9v
- github.com/symfony/symfony
- github.com/symfony/symfony/commit/22a0789a0085c3ee96f4ef715ecad8255cf0e105
- github.com/symfony/symfony/security/advisories/GHSA-jxgr-3v7q-3w9v
- nvd.nist.gov/vuln/detail/CVE-2024-50341
- symfony.com/cve-2024-50341
Detect and mitigate CVE-2024-50341 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →