CVE-2021-21424
Prevent user enumeration using Guard or the new Authenticator-based Security
Reported by github_m · Published May 13, 2021
symfony/form is fixed in 5.2.8, 4.4.23 and 3.4.48 (Packagist)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| symfony/form | Packagist | 5.2.8, 4.4.23, 3.4.48 |
| symfony/http-foundation | Packagist | 5.2.8, 4.4.23, 3.4.48 |
| symfony/symfony | Packagist | 5.2.9, 4.4.24, 3.4.49 |
| symfony | Ubuntu:Pro:20.04:LTS | 4.3.8+dfsg-1ubuntu1+esm1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| symfony | symfony | >= 2.8.0, < 3.4.48, >= 4.0.0, < 4.4.23, >= 5.0.0, < 5.2.8 |
| symfony | symfony | 2.8.0, 4.0.0, 5.0.0 |
Timeline
- May 13, 2021 CVE Published
- May 14, 2021 EPSS Score (30 in total, the first dated here)
- Aug 3, 2024 CVE Updated
- Apr 15, 2025 PoC Published (2 in total, the first dated here)
- Mar 7, 2026 Distribution Patch
- Mar 7, 2026 Security Advisory (2 in total, the first dated here)
- Aug 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-21424
vulnetix vdb fixes CVE-2021-21424
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-21424/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 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