CVE-2021-21424Prevent user enumeration using Guard or the new Authenticator-based Security
- 5.3MediumCVSS base score
- 1.6%Exploitation in 30 daysEPSS · top 23% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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 403s 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 3.4.
Timeline
ID reserved
By GitHub_M
- 5 months later
· 5 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVDNVD · Modified | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
- EPSS (exploitation in 30 days)
- 1.6% · top 23% of all CVEs (19 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Affected products
Affected packages
Affected packages7
From reviewed advisories of the GitHub Advisory Database.
- Packagistlexik/jwt-authentication-bundleGHSA-5pv8-ppvj-4h68 (opens in a new tab)
- Packagistsymfony/maker-bundleGHSA-5pv8-ppvj-4h68 (opens in a new tab)
- Packagistsymfony/securityGHSA-5pv8-ppvj-4h68 (opens in a new tab)
- Packagistsymfony/security-coreGHSA-5pv8-ppvj-4h68 (opens in a new tab)
- Packagistsymfony/security-guardGHSA-5pv8-ppvj-4h68 (opens in a new tab)
- Packagistsymfony/security-httpGHSA-5pv8-ppvj-4h68 (opens in a new tab)
- Packagistsymfony/symfonyGHSA-5pv8-ppvj-4h68 (opens in a new tab)
References
References7
- https://github.com/symfony/symfony/security/advisories/GHSA-5pv8-ppvj-4h68 (opens in a new tab)x_transferred
- https://github.com/symfony/symfony/commit/2a581d22cc621b33d5464ed65c4bc2057f72f011 (opens in a new tab)x_transferred
- FEDORA-2021-f3ad34aa9f (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2021-121edb82dd (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2021-c57937ab9f (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2021-2d145b95f6 (opens in a new tab)vendor-advisoryx_transferred
- [debian-lts-announce] 20230711 [SECURITY] [DLA 3493-1] symfony security update (opens in a new tab)mailing-listx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-0960 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-5pv8-ppvj-4h68 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-21424)Record last updated .