3.1
CWE
287
Advisory Published
CVE Published
Updated

CVE-2024-50341: Security::login does not take into account custom user_checker in symfony/security-bundle

First published: Wed Nov 06 2024(Updated: )

### 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](https://github.com/symfony/symfony/commit/22a0789a0085c3ee96f4ef715ecad8255cf0e105) 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.

Credit: security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
composer/symfony/symfony>=7.1.0<7.1.3
7.1.3
composer/symfony/symfony>=7.0.0<7.0.10
7.0.10
composer/symfony/symfony>=6.2.0<6.4.10
6.4.10
composer/symfony/security-bundle>=7.1.0<7.1.3
7.1.3
composer/symfony/security-bundle>=7.0.0<7.0.10
7.0.10
composer/symfony/security-bundle>=6.2.0<6.4.10
6.4.10
debian/symfony
4.4.19+dfsg-2+deb11u6
5.4.23+dfsg-1+deb12u4
6.4.18+dfsg-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203