NetSight
low3.1

CVE-2024-50341

Symfony's `Security::login` does not take into account custom `user_checker`

Impact

### 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.

Affected packages

EcosystemPackageAffectedFixed in
composersymfony/security-bundle>= 6.2.0, < 6.4.106.4.10
composersymfony/symfony>= 6.2.0, < 6.4.106.4.10

Weakness classification

References