CVE-2024-50341
LOW 3.1CVSS 3.1Symfony's `Security::login` does not take into account custom `user_checker`
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.
- Published
- 6 Nov 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-287
- Also known as
- GHSA-jxgr-3v7q-3w9v
- Sources
- NVDJSONOSV GHSA-jxgr-3v7q-3w9vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | symfony/security-bundle | >= 6.2.0, < 6.4.10 | 6.4.10 |
| OSV | Packagist | symfony/security-bundle | >= 7.0.0, < 7.0.10 | 7.0.10 |
| OSV | Packagist | symfony/security-bundle | >= 7.1.0, < 7.1.3 | 7.1.3 |
| OSV | Packagist | symfony/symfony | >= 6.2.0, < 6.4.10 | 6.4.10 |
| OSV | Packagist | symfony/symfony | >= 7.0.0, < 7.0.10 | 7.0.10 |
| OSV | Packagist | symfony/symfony | >= 7.1.0, < 7.1.3 | 7.1.3 |
References
- https://github.com/symfony/symfony/commit/22a0789a0085c3ee96f4ef715ecad8255cf0e105 · WEB
- https://github.com/symfony/symfony/security/advisories/GHSA-jxgr-3v7q-3w9v · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-50341 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2024-50341.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50341.yaml · WEB
- https://github.com/symfony/symfony · PACKAGE
- https://symfony.com/cve-2024-50341 · WEB
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 6 Nov 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 6 Nov 2024)