Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. symfony/security-core
  4. ›
  5. CVE-2021-21424

CVE-2021-21424: Exposure of Sensitive Information to an Unauthorized Actor

May 13, 2021 (updated November 7, 2023)

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. The ability to enumerate users was possible without relevant permissions due to different handling depending on whether the user existed or not when attempting to use the switch users functionality. We now ensure that s are returned whether the user exists or not if a user cannot switch to a user or if the user does not exist. The patch for this issue is available for branch

References

  • github.com/symfony/symfony/commit/2a581d22cc621b33d5464ed65c4bc2057f72f011
  • github.com/symfony/symfony/security/advisories/GHSA-5pv8-ppvj-4h68
  • nvd.nist.gov/vuln/detail/CVE-2021-21424

Code Behaviors & Features

Detect and mitigate CVE-2021-21424 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 2.8.0 before 3.4.48, all versions starting from 4.0.0 before 4.4.23, all versions starting from 5.0.0 before 5.2.8

Fixed versions

  • 3.4.48
  • 4.4.23
  • 5.2.8

Solution

Upgrade to versions 3.4.48, 4.4.23, 5.2.8 or above.

Impact 5.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

packagist/symfony/security-core/CVE-2021-21424.yml

Spotted a mistake? Edit the file on GitLab.

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

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