CVE-2024-50341

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

State
Published
Severity
3.1 Low
Published
Nov 6, 2024
Updated
Nov 7, 2024
Reserved
Oct 22, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.1 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:NGitHub_M

Weaknesses

Affected Products

ProductVersions
symfonysymfony
  • >= 6.2.0, < 6.4.10Affected
  • >= 7.0.0, < 7.0.10Affected
  • >= 7.1.0, < 7.1.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.