CVE-2021-21424
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.
How to fix
- sensiolabs symfony3.4.48, 4.4.23, 5.2.8 or later
- symfony/security5.2.8, 3.4.49, 4.4.24 or later
- symfony/security-guard3.4.48, 4.4.23, 5.2.8 or later
- symfony/security-core3.4.48, 4.4.23, 5.2.8 or later
- lexik/jwt-authentication-bundle2.10.7, 2.11.3 or later
- symfony/maker-bundle1.29.2, 1.31.1 or later
- symfony/security-http5.2.8 or later
- symfony/symfony3.4.49, 4.4.24, 5.2.9 or later
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KENRNLB3FYXYGDWRBH2PDBOZZKOD7VY4/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VRUS2H2SSOQWNLBD35SKIWIDQEMV2PD3/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UC7BND775DVZDQT3RMGD2HVB2PKLJDJW/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RH7TMM5CHQYBFFGXWRPJDPB3SKCZXI2M/
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sensiolabs symfony | 2.8.0 ≤ v < 3.4.48, 4.0.0 ≤ v < 4.4.23, 5.0.0 ≤ v < 5.2.8 | 3.4.48, 4.4.23, 5.2.8 |
| fedoraproject fedora | 33, 34 | — |
| symfony/securityPackagist | 5.0.0 ≤ v < 5.2.8, 2.8.0 ≤ v < 3.4.49, 4.0.0 ≤ v < 4.4.24 | 5.2.8, 3.4.49, 4.4.24 |
| symfony/security-guardPackagist | 2.8.0 ≤ v < 3.4.48, 4.0.0 ≤ v < 4.4.23, 5.0.0 ≤ v < 5.2.8 | 3.4.48, 4.4.23, 5.2.8 |
| symfony/security-corePackagist | 2.8.0 ≤ v < 3.4.48, 4.0.0 ≤ v < 4.4.23, 5.0.0 ≤ v < 5.2.8 | 3.4.48, 4.4.23, 5.2.8 |
| lexik/jwt-authentication-bundlePackagist | 2.0.0 ≤ v < 2.10.7, 2.11.0 ≤ v < 2.11.3 | 2.10.7, 2.11.3 |
| symfony/maker-bundlePackagist | 1.27.0 ≤ v < 1.29.2, 1.30.0 ≤ v < 1.31.1 | 1.29.2, 1.31.1 |
| symfony/security-httpPackagist | 5.1.0 ≤ v < 5.2.8 | 5.2.8 |
| symfony/symfonyPackagist | 2.8.0 ≤ v < 3.4.49, 4.0.0 ≤ v < 4.4.24, 5.0.0 ≤ v < 5.2.9 | 3.4.49, 4.4.24, 5.2.9 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.