CVE record
CVE-2021-21424
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.
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.
CVE evidence
Known exploitation
Not listed in fetched KEV catalog
Absence from the fetched catalog does not establish that exploitation has not occurred.
Severity
moderate
CVSS 5.3 ยท CVSS_V3
Affected packages
7
Supported package records returned by OSV. Vendor and product names are not used to infer matches.
OSV package mapping
Affected open-source packages
| Package | Ecosystem | Fixed versions |
|---|---|---|
| symfony/security | composer | 5.2.8, 3.4.49, 4.4.24 |
| symfony/security-guard | composer | 3.4.48, 4.4.23, 5.2.8 |
| symfony/security-core | composer | 3.4.48, 4.4.23, 5.2.8 |
| lexik/jwt-authentication-bundle | composer | 2.10.7, 2.11.3 |
| symfony/maker-bundle | composer | 1.29.2, 1.31.1 |
| symfony/security-http | composer | 5.2.8 |
| symfony/symfony | composer | 3.4.49, 4.4.24, 5.2.9 |