Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. symfony/security-bundle
  4. ›
  5. CVE-2024-50341

CVE-2024-50341: Symfony's `Security::login` does not take into account custom `user_checker`

November 6, 2024

The custom user_checker defined on a firewall is not called when Login Programmaticaly with the Security::login method, leading to unwanted login.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2024-50341.yaml
  • github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50341.yaml
  • github.com/advisories/GHSA-jxgr-3v7q-3w9v
  • github.com/symfony/symfony
  • github.com/symfony/symfony/commit/22a0789a0085c3ee96f4ef715ecad8255cf0e105
  • github.com/symfony/symfony/security/advisories/GHSA-jxgr-3v7q-3w9v
  • nvd.nist.gov/vuln/detail/CVE-2024-50341
  • symfony.com/cve-2024-50341

Code Behaviors & Features

Detect and mitigate CVE-2024-50341 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 6.2.0 before 6.4.10, all versions starting from 7.0.0 before 7.0.10, all versions starting from 7.1.0 before 7.1.3

Fixed versions

  • 6.4.10
  • 7.0.10
  • 7.1.3

Solution

Upgrade to versions 6.4.10, 7.0.10, 7.1.3 or above.

Impact 3.1 LOW

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication

Source file

packagist/symfony/security-bundle/CVE-2024-50341.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:56 +0000.