Skip to content

CVE-2021-21424 Prevent user enumeration using Guard or the new Authenticator-based Security

MediumCVSS 5.3 EPSS 1.6% PoC
Published
Updated
Exploit status
Proof-of-concept only
Technology
PHPUbuntuDebian

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.

Upgrade path

15 packages: 13 fixed.

PackageAffectedFixed inStatus
debian/symfony(Debian 12) < 4.4.19+dfsg-2 4.4.19+dfsg-2 Fixed
debian/symfony(Debian 13) < 4.4.19+dfsg-2 4.4.19+dfsg-2 Fixed
debian/symfony(Debian 14) < 4.4.19+dfsg-2 4.4.19+dfsg-2 Fixed
lexik/jwt-authentication-bundle(Packagist) = v2.0.0; = v2.0.1; = v2.0.2; = v2.0.3 +35 more 2.10.7, 2.11.3 Fixed
sensiolabs symfony >= 2.8.0, < 3.4.48; >= 4.0.0, < 4.4.23; >= 5.0.0, < 5.2.8 3.4.48, 4.4.23, 5.2.8 Fixed
symfony/maker-bundle(Packagist) = 1.27.0; = v1.28.0; = v1.29.0; = v1.29.1 +6 more 1.29.2, 1.31.1 Fixed
symfony/security(Packagist) = v2.8.0; = v2.8.1; = v2.8.2; = v2.8.3 +259 more 3.4.49, 4.4.24, 5.2.8 Fixed
symfony/security-core(Packagist) = v2.8.0; = v2.8.1; = v2.8.2; = v2.8.3 +297 more 3.4.48, 4.4.23, 5.2.8 Fixed
symfony/security-guard(Packagist) = v2.8.0; = v2.8.1; = v2.8.2; = v2.8.3 +292 more 3.4.48, 4.4.23, 5.2.8 Fixed
symfony/security-http(Packagist) = v5.1.0; = v5.1.1; = v5.1.2; = v5.1.3 +22 more 5.2.8 Fixed
symfony/symfony(Packagist) = v2.8.0; = v2.8.1; = v2.8.2; = v2.8.3 +302 more 3.4.49, 4.4.24, 5.2.9 Fixed
ubuntu/symfony(Ubuntu Pro 18.04) < 3.4.6+dfsg-1ubuntu0.1+esm2; = 2.8.7+dfsg-1.3ubuntu1; = 3.4.3+dfsg-1ubuntu4; = 3.4.6+dfsg-1 +2 more 3.4.6+dfsg-1ubuntu0.1+esm2 Fixed
ubuntu/symfony(Ubuntu Pro 20.04) < 4.3.8+dfsg-1ubuntu1+esm1; = 4.3.4+dfsg-1ubuntu1; = 4.3.8+dfsg-1ubuntu1 4.3.8+dfsg-1ubuntu1+esm1 Fixed
fedoraproject fedora = 33; = 34 No fix listed Versions listed
symfony/symfony = >= 2.8.0, < 3.4.48; = >= 4.0.0, < 4.4.23; = >= 5.0.0, < 5.2.8 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
symfony/security(Packagist) >= 5.0.0, < 5.2.8 5.2.8
symfony/security-guard(Packagist) >= 2.8.0, < 3.4.48 3.4.48
symfony/security-guard(Packagist) = v2.8.0 No fix listed
symfony/security-guard(Packagist) = v2.8.1 No fix listed
symfony/security-guard(Packagist) = v2.8.10 No fix listed
symfony/security-guard(Packagist) = v2.8.11 No fix listed
symfony/security-guard(Packagist) = v2.8.12 No fix listed
symfony/security-guard(Packagist) = v2.8.13 No fix listed
symfony/security-guard(Packagist) = v2.8.14 No fix listed
symfony/security-guard(Packagist) = v2.8.15 No fix listed
symfony/security-guard(Packagist) = v2.8.16 No fix listed
symfony/security-guard(Packagist) = v2.8.17 No fix listed
symfony/security-guard(Packagist) = v2.8.18 No fix listed
symfony/security-guard(Packagist) = v2.8.19 No fix listed
symfony/security-guard(Packagist) = v2.8.2 No fix listed
symfony/security-guard(Packagist) = v2.8.20 No fix listed
symfony/security-guard(Packagist) = v2.8.21 No fix listed
symfony/security-guard(Packagist) = v2.8.22 No fix listed
symfony/security-guard(Packagist) = v2.8.23 No fix listed
symfony/security-guard(Packagist) = v2.8.24 No fix listed
symfony/security-guard(Packagist) = v2.8.25 No fix listed
symfony/security-guard(Packagist) = v2.8.26 No fix listed
symfony/security-guard(Packagist) = v2.8.27 No fix listed
symfony/security-guard(Packagist) = v2.8.28 No fix listed
symfony/security-guard(Packagist) = v2.8.29 No fix listed
Show 175 more
ProductAffected versionsFixed in
symfony/security-guard(Packagist) = v2.8.3 No fix listed
symfony/security-guard(Packagist) = v2.8.30 No fix listed
symfony/security-guard(Packagist) = v2.8.31 No fix listed
symfony/security-guard(Packagist) = v2.8.32 No fix listed
symfony/security-guard(Packagist) = v2.8.33 No fix listed
symfony/security-guard(Packagist) = v2.8.34 No fix listed
symfony/security-guard(Packagist) = v2.8.35 No fix listed
symfony/security-guard(Packagist) = v2.8.36 No fix listed
symfony/security-guard(Packagist) = v2.8.37 No fix listed
symfony/security-guard(Packagist) = v2.8.38 No fix listed
symfony/security-guard(Packagist) = v2.8.39 No fix listed
symfony/security-guard(Packagist) = v2.8.4 No fix listed
symfony/security-guard(Packagist) = v2.8.40 No fix listed
symfony/security-guard(Packagist) = v2.8.41 No fix listed
symfony/security-guard(Packagist) = v2.8.42 No fix listed
symfony/security-guard(Packagist) = v2.8.43 No fix listed
symfony/security-guard(Packagist) = v2.8.44 No fix listed
symfony/security-guard(Packagist) = v2.8.45 No fix listed
symfony/security-guard(Packagist) = v2.8.46 No fix listed
symfony/security-guard(Packagist) = v2.8.47 No fix listed
symfony/security-guard(Packagist) = v2.8.48 No fix listed
symfony/security-guard(Packagist) = v2.8.49 No fix listed
symfony/security-guard(Packagist) = v2.8.5 No fix listed
symfony/security-guard(Packagist) = v2.8.50 No fix listed
symfony/security-guard(Packagist) = v2.8.52 No fix listed
symfony/security-guard(Packagist) = v2.8.6 No fix listed
symfony/security-guard(Packagist) = v2.8.7 No fix listed
symfony/security-guard(Packagist) = v2.8.8 No fix listed
symfony/security-guard(Packagist) = v2.8.9 No fix listed
symfony/security-guard(Packagist) = v3.0.0 No fix listed
symfony/security-guard(Packagist) = v3.0.0-BETA1 No fix listed
symfony/security-guard(Packagist) = v3.0.1 No fix listed
symfony/security-guard(Packagist) = v3.0.2 No fix listed
symfony/security-guard(Packagist) = v3.0.3 No fix listed
symfony/security-guard(Packagist) = v3.0.4 No fix listed
symfony/security-guard(Packagist) = v3.0.5 No fix listed
symfony/security-guard(Packagist) = v3.0.6 No fix listed
symfony/security-guard(Packagist) = v3.0.7 No fix listed
symfony/security-guard(Packagist) = v3.0.8 No fix listed
symfony/security-guard(Packagist) = v3.0.9 No fix listed
symfony/security-guard(Packagist) = v3.1.0 No fix listed
symfony/security-guard(Packagist) = v3.1.0-BETA1 No fix listed
symfony/security-guard(Packagist) = v3.1.0-RC1 No fix listed
symfony/security-guard(Packagist) = v3.1.1 No fix listed
symfony/security-guard(Packagist) = v3.1.10 No fix listed
symfony/security-guard(Packagist) = v3.1.2 No fix listed
symfony/security-guard(Packagist) = v3.1.3 No fix listed
symfony/security-guard(Packagist) = v3.1.4 No fix listed
symfony/security-guard(Packagist) = v3.1.5 No fix listed
symfony/security-guard(Packagist) = v3.1.6 No fix listed
symfony/security-guard(Packagist) = v3.1.7 No fix listed
symfony/security-guard(Packagist) = v3.1.8 No fix listed
symfony/security-guard(Packagist) = v3.1.9 No fix listed
symfony/security-guard(Packagist) = v3.2.0 No fix listed
symfony/security-guard(Packagist) = v3.2.0-BETA1 No fix listed
symfony/security-guard(Packagist) = v3.2.0-RC1 No fix listed
symfony/security-guard(Packagist) = v3.2.0-RC2 No fix listed
symfony/security-guard(Packagist) = v3.2.1 No fix listed
symfony/security-guard(Packagist) = v3.2.10 No fix listed
symfony/security-guard(Packagist) = v3.2.11 No fix listed
symfony/security-guard(Packagist) = v3.2.12 No fix listed
symfony/security-guard(Packagist) = v3.2.13 No fix listed
symfony/security-guard(Packagist) = v3.2.14 No fix listed
symfony/security-guard(Packagist) = v3.2.2 No fix listed
symfony/security-guard(Packagist) = v3.2.3 No fix listed
symfony/security-guard(Packagist) = v3.2.4 No fix listed
symfony/security-guard(Packagist) = v3.2.5 No fix listed
symfony/security-guard(Packagist) = v3.2.6 No fix listed
symfony/security-guard(Packagist) = v3.2.7 No fix listed
symfony/security-guard(Packagist) = v3.2.8 No fix listed
symfony/security-guard(Packagist) = v3.2.9 No fix listed
symfony/security-guard(Packagist) = v3.3.0 No fix listed
symfony/security-guard(Packagist) = v3.3.0-BETA1 No fix listed
symfony/security-guard(Packagist) = v3.3.0-RC1 No fix listed
symfony/security-guard(Packagist) = v3.3.1 No fix listed
symfony/security-guard(Packagist) = v3.3.10 No fix listed
symfony/security-guard(Packagist) = v3.3.11 No fix listed
symfony/security-guard(Packagist) = v3.3.12 No fix listed
symfony/security-guard(Packagist) = v3.3.13 No fix listed
symfony/security-guard(Packagist) = v3.3.14 No fix listed
symfony/security-guard(Packagist) = v3.3.15 No fix listed
symfony/security-guard(Packagist) = v3.3.16 No fix listed
symfony/security-guard(Packagist) = v3.3.17 No fix listed
symfony/security-guard(Packagist) = v3.3.18 No fix listed
symfony/security-guard(Packagist) = v3.3.2 No fix listed
symfony/security-guard(Packagist) = v3.3.3 No fix listed
symfony/security-guard(Packagist) = v3.3.4 No fix listed
symfony/security-guard(Packagist) = v3.3.5 No fix listed
symfony/security-guard(Packagist) = v3.3.6 No fix listed
symfony/security-guard(Packagist) = v3.3.7 No fix listed
symfony/security-guard(Packagist) = v3.3.8 No fix listed
symfony/security-guard(Packagist) = v3.3.9 No fix listed
symfony/security-guard(Packagist) = v3.4.0 No fix listed
symfony/security-guard(Packagist) = v3.4.0-BETA1 No fix listed
symfony/security-guard(Packagist) = v3.4.0-BETA2 No fix listed
symfony/security-guard(Packagist) = v3.4.0-BETA3 No fix listed
symfony/security-guard(Packagist) = v3.4.0-BETA4 No fix listed
symfony/security-guard(Packagist) = v3.4.0-RC1 No fix listed
symfony/security-guard(Packagist) = v3.4.0-RC2 No fix listed
symfony/security-guard(Packagist) = v3.4.1 No fix listed
symfony/security-guard(Packagist) = v3.4.10 No fix listed
symfony/security-guard(Packagist) = v3.4.11 No fix listed
symfony/security-guard(Packagist) = v3.4.12 No fix listed
symfony/security-guard(Packagist) = v3.4.13 No fix listed
symfony/security-guard(Packagist) = v3.4.14 No fix listed
symfony/security-guard(Packagist) = v3.4.15 No fix listed
symfony/security-guard(Packagist) = v3.4.16 No fix listed
symfony/security-guard(Packagist) = v3.4.17 No fix listed
symfony/security-guard(Packagist) = v3.4.18 No fix listed
symfony/security-guard(Packagist) = v3.4.19 No fix listed
symfony/security-guard(Packagist) = v3.4.2 No fix listed
symfony/security-guard(Packagist) = v3.4.20 No fix listed
symfony/security-guard(Packagist) = v3.4.21 No fix listed
symfony/security-guard(Packagist) = v3.4.22 No fix listed
symfony/security-guard(Packagist) = v3.4.23 No fix listed
symfony/security-guard(Packagist) = v3.4.24 No fix listed
symfony/security-guard(Packagist) = v3.4.25 No fix listed
symfony/security-guard(Packagist) = v3.4.26 No fix listed
symfony/security-guard(Packagist) = v3.4.27 No fix listed
symfony/security-guard(Packagist) = v3.4.28 No fix listed
symfony/security-guard(Packagist) = v3.4.29 No fix listed
symfony/security-guard(Packagist) = v3.4.3 No fix listed
symfony/security-guard(Packagist) = v3.4.30 No fix listed
symfony/security-guard(Packagist) = v3.4.31 No fix listed
symfony/security-guard(Packagist) = v3.4.32 No fix listed
symfony/security-guard(Packagist) = v3.4.33 No fix listed
symfony/security-guard(Packagist) = v3.4.34 No fix listed
symfony/security-guard(Packagist) = v3.4.35 No fix listed
symfony/security-guard(Packagist) = v3.4.36 No fix listed
symfony/security-guard(Packagist) = v3.4.37 No fix listed
symfony/security-guard(Packagist) = v3.4.38 No fix listed
symfony/security-guard(Packagist) = v3.4.39 No fix listed
symfony/security-guard(Packagist) = v3.4.4 No fix listed
symfony/security-guard(Packagist) = v3.4.40 No fix listed
symfony/security-guard(Packagist) = v3.4.41 No fix listed
symfony/security-guard(Packagist) = v3.4.42 No fix listed
symfony/security-guard(Packagist) = v3.4.43 No fix listed
symfony/security-guard(Packagist) = v3.4.44 No fix listed
symfony/security-guard(Packagist) = v3.4.45 No fix listed
symfony/security-guard(Packagist) = v3.4.46 No fix listed
symfony/security-guard(Packagist) = v3.4.47 No fix listed
symfony/security-guard(Packagist) = v3.4.5 No fix listed
symfony/security-guard(Packagist) = v3.4.6 No fix listed
symfony/security-guard(Packagist) = v3.4.7 No fix listed
symfony/security-guard(Packagist) = v3.4.8 No fix listed
symfony/security-guard(Packagist) = v3.4.9 No fix listed
symfony/security-guard(Packagist) >= 4.0.0, < 4.4.23 4.4.23
symfony/security-guard(Packagist) = v4.0.0 No fix listed
symfony/security-guard(Packagist) = v4.0.1 No fix listed
symfony/security-guard(Packagist) = v4.0.10 No fix listed
symfony/security-guard(Packagist) = v4.0.11 No fix listed
symfony/security-guard(Packagist) = v4.0.12 No fix listed
symfony/security-guard(Packagist) = v4.0.13 No fix listed
symfony/security-guard(Packagist) = v4.0.14 No fix listed
symfony/security-guard(Packagist) = v4.0.15 No fix listed
symfony/security-guard(Packagist) = v4.0.2 No fix listed
symfony/security-guard(Packagist) = v4.0.3 No fix listed
symfony/security-guard(Packagist) = v4.0.4 No fix listed
symfony/security-guard(Packagist) = v4.0.5 No fix listed
symfony/security-guard(Packagist) = v4.0.6 No fix listed
symfony/security-guard(Packagist) = v4.0.7 No fix listed
symfony/security-guard(Packagist) = v4.0.8 No fix listed
symfony/security-guard(Packagist) = v4.0.9 No fix listed
symfony/security-guard(Packagist) = v4.1.0 No fix listed
symfony/security-guard(Packagist) = v4.1.0-BETA1 No fix listed
symfony/security-guard(Packagist) = v4.1.0-BETA2 No fix listed
symfony/security-guard(Packagist) = v4.1.0-BETA3 No fix listed
symfony/security-guard(Packagist) = v4.1.1 No fix listed
symfony/security-guard(Packagist) = v4.1.10 No fix listed
symfony/security-guard(Packagist) = v4.1.11 No fix listed
symfony/security-guard(Packagist) = v4.1.12 No fix listed
symfony/security-guard(Packagist) = v4.1.2 No fix listed
symfony/security-guard(Packagist) = v4.1.3 No fix listed
symfony/security-guard(Packagist) = v4.1.4 No fix listed
symfony/security-guard(Packagist) = v4.1.5 No fix listed

References