Every CVE Search/ Get API key

CVE-2024-50341

Security::login does not take into account custom user_checker in symfony/security-bundle

3.1 LowFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
Low
Availability
None

Exploit likelihood

0.31%Up 0.3 points since Nov 7, 2024
90%50%10%1%

What each source reports

CVE List Score used 3.1

Security::login does not take into account custom user_checker in symfony/security-bundle

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.

Record
CVE-2024-50341
CVSS 3.1
3.1 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-287
Updated
2026-11-02
EUVDEUVD-2024-3280 3.1

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.

Record
EUVD-2024-3280
CVSS 3.1
3.1 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-jxgr-3v7q-3w9v 2.3

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

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

Record
GHSA-jxgr-3v7q-3w9v
CVSS 4.0
2.3 LowCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
CVSS 3.1
3.1 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-287
Updated
2026-11-02
NVD 3.1

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.

Record
CVE-2024-50341
CVSS 3.1
3.1 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-287
Updated
2026-11-02
OSV 3.1

Security::login does not take into account custom user_checker in symfony/security-bundle

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.

Record
CVE-2024-50341
CVSS 3.1
3.1 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-287
Updated
2026-11-02
OSVDEBIAN-CVE-2024-50341 3.1

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.

Record
DEBIAN-CVE-2024-50341
CVSS 3.1
3.1 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Updated
2026-11-02
OSVGHSA-jxgr-3v7q-3w9v 2.3

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

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

Record
GHSA-jxgr-3v7q-3w9v
CVSS 4.0
2.3 LowCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
CVSS 3.1
3.1 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-287
Updated
2026-11-02
OSVUBUNTU-CVE-2024-50341 3.1

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.

Record
UBUNTU-CVE-2024-50341
CVSS 3.1
3.1 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Updated
2026-11-02
OSVUSN-7272-1 No score

symfony vulnerabilities

Soner Sayakci discovered that Symfony incorrectly handled cookie storage in the web cache. An attacker could possibly use this issue to obtain sensitive information and access unauthorized resources. (CVE-2022-24894)

Marco Squarcina discovered that Symfony incorrectly handled the storage of user session information. An attacker could possibly use this issue to perform a cross-site request forgery (CSRF) attack. (CVE-2022-24895)

Pierre Rudloff discovered that Symfony incorrectly checked HTML input. An attacker could possibly use this issue to perform cross site scripting. (CVE-2023-46734)

Vladimir Dusheyko discovered that Symfony incorrectly sanitized special input with a PHP directive in URL query strings. An attacker could possibly use this issue to expose sensitive information or cause a denial of service. This issue only affected Ubuntu 24.04 LTS and Ubuntu 22.04 LTS. (CVE-2024-50340)

Oleg Andreyev, Antoine Makdessi, and Moritz Rauch discovered that Symfony incorrectly handled user authentication. An attacker could possibly use this issue to access unauthorized resources and expose sensitive information. This issue was only addressed in Ubuntu 24.04 LTS. (CVE-2024-50341, CVE-2024-51996)

Linus Karlsson and Chris Smith discovered that Symfony returned internal host information during host resolution. An attacker could possibly use this issue to obtain sensitive information. This issue only affected Ubuntu 24.04 LTS and Ubuntu 22.04 LTS. (CVE-2024-50342)

It was discovered that Symfony incorrectly parsed user input through regular expressions. An attacker could possibly use this issue to expose sensitive information. (CVE-2024-50343)

Sam Mush discovered that Symfony incorrectly parsed URIs with special characters. An attacker could possibly use this issue to perform phishing attacks. (CVE-2024-50345)

Record
USN-7272-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
symfony/security-bundle
Packagist
6.2.0 up to 6.4.10
6.4.10
symfony/security-bundle
Packagist
7.0.0 up to 7.0.10
7.0.10
symfony/security-bundle
Packagist
7.1.0 up to 7.1.3
7.1.3
symfony/symfony
Packagist
6.2.0 up to 6.4.10
6.4.10
symfony/symfony
Packagist
7.0.0 up to 7.0.10
7.0.10
symfony/symfony
Packagist
7.1.0 up to 7.1.3
7.1.3
symfony
Debian:13
before 6.4.10+dfsg-1
6.4.10+dfsg-1
symfony
Debian:14
before 6.4.10+dfsg-1
6.4.10+dfsg-1
symfony/security-bundle
Packagist
6.2.0 up to 6.4.10, plus listed versions
v6.2.0v6.2.10v6.2.11v6.2.12v6.2.13
Show 34 moreShow less
v6.2.2v6.2.3v6.2.5v6.2.6v6.2.7v6.2.8v6.3.0v6.3.0-BETA1v6.3.0-BETA2v6.3.0-RC1v6.3.0-RC2v6.3.1v6.3.11v6.3.12v6.3.2v6.3.3v6.3.4v6.3.5v6.3.6v6.3.7v6.3.8v6.4.0v6.4.0-BETA1v6.4.0-BETA2v6.4.0-BETA3v6.4.0-RC1v6.4.2v6.4.3v6.4.4v6.4.5v6.4.6v6.4.7v6.4.8v6.4.9
6.4.10
symfony/security-bundle
Packagist
7.0.0 up to 7.0.10, plus listed versions
v7.0.0v7.0.2v7.0.3v7.0.4v7.0.5
Show 4 moreShow less
v7.0.6v7.0.7v7.0.8v7.0.9
7.0.10
Show 8 moreShow less
Affected packages
PackageAffectedFixed
symfony/security-bundle
Packagist
7.1.0 up to 7.1.3, plus listed versions
v7.1.0v7.1.1v7.1.2
7.1.3
symfony/symfony
Packagist
6.2.0 up to 6.4.10, plus listed versions
v6.2.0v6.2.1v6.2.10v6.2.11v6.2.12
Show 43 moreShow less
v6.2.13v6.2.14v6.2.2v6.2.3v6.2.4v6.2.5v6.2.6v6.2.7v6.2.8v6.2.9v6.3.0v6.3.0-BETA1v6.3.0-BETA2v6.3.0-BETA3v6.3.0-RC1v6.3.0-RC2v6.3.1v6.3.10v6.3.11v6.3.12v6.3.2v6.3.3v6.3.4v6.3.5v6.3.6v6.3.7v6.3.8v6.3.9v6.4.0v6.4.0-BETA1v6.4.0-BETA2v6.4.0-BETA3v6.4.0-RC1v6.4.0-RC2v6.4.1v6.4.2v6.4.3v6.4.4v6.4.5v6.4.6v6.4.7v6.4.8v6.4.9
6.4.10
symfony/symfony
Packagist
7.0.0 up to 7.0.10, plus listed versions
v7.0.0v7.0.1v7.0.2v7.0.3v7.0.4
Show 5 moreShow less
v7.0.5v7.0.6v7.0.7v7.0.8v7.0.9
7.0.10
symfony/symfony
Packagist
7.1.0 up to 7.1.3, plus listed versions
v7.1.0v7.1.1v7.1.2
7.1.3
symfony
Ubuntu:Pro:24.04:LTS
before 6.4.5+dfsg-3ubuntu3+esm1, plus listed versions
5.4.23+dfsg-1ubuntu15.4.35+dfsg-3ubuntu16.4.5+dfsg-3ubuntu26.4.5+dfsg-3ubuntu3
6.4.5+dfsg-3ubuntu3+esm1
symfony
Ubuntu:Pro:20.04:LTS
From an advisory covering 9 CVEs
before 4.3.8+dfsg-1ubuntu1+esm2, plus listed versions
4.3.4+dfsg-1ubuntu14.3.8+dfsg-1ubuntu14.3.8+dfsg-1ubuntu1+esm1
4.3.8+dfsg-1ubuntu1+esm2
symfony
Ubuntu:Pro:22.04:LTS
From an advisory covering 9 CVEs
before 5.4.4+dfsg-1ubuntu8+esm1, plus listed versions
5.2.6+dfsg-1ubuntu75.4.4+dfsg-1ubuntu8
5.4.4+dfsg-1ubuntu8+esm1
symfony
Ubuntu:Pro:24.04:LTS
From an advisory covering 9 CVEs
before 6.4.5+dfsg-3ubuntu3+esm1, plus listed versions
5.4.23+dfsg-1ubuntu15.4.35+dfsg-3ubuntu16.4.5+dfsg-3ubuntu26.4.5+dfsg-3ubuntu3
6.4.5+dfsg-3ubuntu3+esm1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-50341 is a low vulnerability (CVSS 3.1) in Symfony, published November 6, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.31%, the 24th percentile. Fixed in symfony/security-bundle 6.4.10.

References

Show 15 moreShow less
MoveEnter Open