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.

Severity (CVSS 3.1)3.1Low
Exploit odds (30 days)0.3%top 75.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:13symfony6.4.10+dfsg-1DEBIAN-CVE-2024-50341
Debian:14symfony6.4.10+dfsg-1DEBIAN-CVE-2024-50341
Packagistsymfony/security-bundle7.1.3GHSA-jxgr-3v7q-3w9v
Packagistsymfony/security-bundle6.4.10GHSA-jxgr-3v7q-3w9v
Packagistsymfony/security-bundle7.0.10GHSA-jxgr-3v7q-3w9v
Packagistsymfony/symfony7.1.3GHSA-jxgr-3v7q-3w9v
Packagistsymfony/symfony7.0.10GHSA-jxgr-3v7q-3w9v
Packagistsymfony/symfony6.4.10GHSA-jxgr-3v7q-3w9v

Affected products (as reported)

VendorProductVersions
symfony symfony >= 6.2.0, < 6.4.10>= 7.0.0, < 7.0.10>= 7.1.0, < 7.1.3

Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

References