Vulnerability · Published May 13, 2021 · Assigned by GitHub_M
CVE-2021-21424Prevent user enumeration using Guard or the new Authenticator-based Security
Medium 5.3
In plain English
A medium-severity information exposure in symfony from symfony. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 77% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | symfony | 4.4.19+dfsg-2 | DEBIAN-CVE-2021-21424 |
| Debian:13 | symfony | 4.4.19+dfsg-2 | DEBIAN-CVE-2021-21424 |
| Debian:14 | symfony | 4.4.19+dfsg-2 | DEBIAN-CVE-2021-21424 |
| Packagist | lexik/jwt-authentication-bundle | 2.10.7 | GHSA-5pv8-ppvj-4h68 |
| Packagist | lexik/jwt-authentication-bundle | 2.11.3 | GHSA-5pv8-ppvj-4h68 |
| Packagist | symfony/maker-bundle | 1.31.1 | GHSA-5pv8-ppvj-4h68 |
| Packagist | symfony/maker-bundle | 1.29.2 | GHSA-5pv8-ppvj-4h68 |
| Packagist | symfony/security | 5.2.8 | GHSA-5pv8-ppvj-4h68 |
| Packagist | symfony/security | 3.4.49 | GHSA-5pv8-ppvj-4h68 |
| Packagist | symfony/security | 4.4.24 | GHSA-5pv8-ppvj-4h68 |
| Packagist | symfony/security-core | 5.2.8 | GHSA-5pv8-ppvj-4h68 |
| Packagist | symfony/security-core | 3.4.48 | GHSA-5pv8-ppvj-4h68 |
| Packagist | symfony/security-core | 4.4.23 | GHSA-5pv8-ppvj-4h68 |
| Packagist | symfony/security-guard | 5.2.8 | GHSA-5pv8-ppvj-4h68 |
| Packagist | symfony/security-guard | 4.4.23 | GHSA-5pv8-ppvj-4h68 |
| Packagist | symfony/security-guard | 3.4.48 | GHSA-5pv8-ppvj-4h68 |
| Packagist | symfony/security-http | 5.2.8 | GHSA-5pv8-ppvj-4h68 |
| Packagist | symfony/symfony | 5.2.9 | GHSA-5pv8-ppvj-4h68 |
| Packagist | symfony/symfony | 3.4.49 | GHSA-5pv8-ppvj-4h68 |
| Packagist | symfony/symfony | 4.4.24 | GHSA-5pv8-ppvj-4h68 |
Affected products (as reported)
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/symfony/symfony/security/advisories/GHSA-5pv8-ppvj-4h68
- https://github.com/symfony/symfony/commit/2a581d22cc621b33d5464ed65c4bc2057f72f011
- FEDORA-2021-f3ad34aa9f vendor-advisory
- FEDORA-2021-121edb82dd vendor-advisory
- FEDORA-2021-c57937ab9f vendor-advisory
- FEDORA-2021-2d145b95f6 vendor-advisory
- [debian-lts-announce] 20230711 [SECURITY] [DLA 3493-1] symfony security update mailing-list