CVE-2024-50341 json
Security::login does not take into account custom user_checker in symfony/security-bundle
published 2024-11-06 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-3280 , GHSA-jxgr-3v7q-3w9v
- cvss
- 3.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 24%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist symfony/security-bundle 6.4.10, 7.0.10, 7.1.3
- packagist symfony/symfony 6.4.10, 7.0.10, 7.1.3
- sensiolabs symfony 6.4.10, 7.0.10, 7.1.3
- symfony Debian 14, Debian 13 6.4.10+dfsg-1
debian advisories DEBIAN-CVE-2024-50341
- symfony Ubuntu Pro 24.04 LTS 6.4.5+dfsg-3ubuntu3+esm1
ubuntu advisories UBUNTU-CVE-2024-50341
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.31% chance of exploitation in the next 30 days, higher than 24% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | symfony/security-bundle | >=6.2.0, <6.4.10 >=7.0.0, <7.0.10 >=7.1.0, <7.1.3 |
6.4.10 7.0.10 7.1.3 |
| packagist | symfony/symfony | >=6.2.0, <6.4.10 >=7.0.0, <7.0.10 >=7.1.0, <7.1.3 |
6.4.10 7.0.10 7.1.3 |
Affected products
- symfony symfony
Classification
- Weakness
-
- CWE-287 Improper Authentication
References
-
github.com
/symfony/symfony/commit/22a0789a0085c3ee96f4ef715ecad8255cf0e105
web
-
github.com
/symfony/symfony/security/advisories/GHSA-jxgr-3v7q-3w9v
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-50341
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2024-50341.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50341.yaml
web
-
github.com
/symfony/symfony
package
-
symfony.com
/cve-2024-50341
web
Sources
- CVE List CVE-2024-50341
- GitHub Advisory GHSA-jxgr-3v7q-3w9v
- NVD CVE-2024-50341
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.