Vulnerability · Published Nov 6, 2024 · Assigned by GitHub_M
CVE-2024-50341Security::login does not take into account custom user_checker in symfony/security-bundle
Low 3.1
In plain English
A low-severity improper authentication in symfony from symfony. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | symfony | 6.4.10+dfsg-1 | DEBIAN-CVE-2024-50341 |
| Debian:14 | symfony | 6.4.10+dfsg-1 | DEBIAN-CVE-2024-50341 |
| Packagist | symfony/security-bundle | 7.1.3 | GHSA-jxgr-3v7q-3w9v |
| Packagist | symfony/security-bundle | 6.4.10 | GHSA-jxgr-3v7q-3w9v |
| Packagist | symfony/security-bundle | 7.0.10 | GHSA-jxgr-3v7q-3w9v |
| Packagist | symfony/symfony | 7.1.3 | GHSA-jxgr-3v7q-3w9v |
| Packagist | symfony/symfony | 7.0.10 | GHSA-jxgr-3v7q-3w9v |
| Packagist | symfony/symfony | 6.4.10 | GHSA-jxgr-3v7q-3w9v |
Affected products (as reported)
Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N