CVE-2021-21424
Prevent user enumeration using Guard or the new Authenticator-based Security
- State
- Published
- Severity
- 5.3 Medium
- Published
- May 13, 2021
- Updated
- Aug 3, 2024
- Reserved
- Dec 22, 2020
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | GitHub_M |
Weaknesses
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Affected Products
| Product | Versions |
|---|---|
symfonysymfony |
|
References
- https://github.com/symfony/symfony/security/advisories/GHSA-5pv8-ppvj-4h68
- https://github.com/symfony/symfony/commit/2a581d22cc621b33d5464ed65c4bc2057f72f011
- FEDORA-2021-f3ad34aa9fvendor-advisory
- FEDORA-2021-121edb82ddvendor-advisory
- FEDORA-2021-c57937ab9fvendor-advisory
- FEDORA-2021-2d145b95f6vendor-advisory
- [debian-lts-announce] 20230711 [SECURITY] [DLA 3493-1] symfony security updatemailing-list
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.