CVE-2024-50341
Symfony's `Security::login` does not take into account custom `user_checker`
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.
How to fix CVE-2024-50341
To remediate CVE-2024-50341, upgrade the affected package to a fixed version below.
- —upgrade to 6.4.10+dfsg-1 or later
- —upgrade to 6.4.10 or later
- —upgrade to 6.4.10 or later
Is CVE-2024-50341 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 6.4.10+dfsg-1
- >= 6.2.0, < 6.4.10
- >= 6.2.0, < 6.4.10
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | LOW3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |