CVE-2021-21424: Fedoraproject Fedora
Medium severity, CVSS 5.3. EPSS: 1.6% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Sensiolabs Symfony, from 2.8.0, before 3.4.48: fixed in 3.4.48
- Sensiolabs Symfony, from 4.0.0, before 4.4.23: fixed in 4.4.23
- Sensiolabs Symfony, from 5.0.0, before 5.2.8: fixed in 5.2.8
Affected products
- Fedoraproject Fedora: version 33 only; version 34 only
- Sensiolabs Symfony: from 2.8.0, before 3.4.48 (fixed in 3.4.48); from 4.0.0, before 4.4.23 (fixed in 4.4.23); from 5.0.0, before 5.2.8 (fixed in 5.2.8)
Affected packages
- lexik/jwt-authentication-bundle (Packagist)
- symfony/maker-bundle (Packagist)
- symfony/security (Packagist)
- symfony/security-core (Packagist)
- symfony/security-guard (Packagist)
- symfony/security-http (Packagist)
- symfony/symfony (Packagist)
Published 2021-05-13. Last modified 2026-06-17.