CVE-2021-21424
Published:May 13, 2021
Updated:October 11, 2026
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
symfony/security-core (PHP):
Affected version(s) >=v2.8.0 <v3.4.48Fix Suggestion:
Update to version v3.4.48symfony/security-guard (PHP):
Affected version(s) >=v5.0.0 <v5.2.8Fix Suggestion:
Update to version v5.2.8symfony/symfony (PHP):
Affected version(s) >=v4.0.0 <v4.4.24Fix Suggestion:
Update to version v4.4.24symfony/security-core (PHP):
Affected version(s) >=v4.0.0 <v4.4.23Fix Suggestion:
Update to version v4.4.23lexik/jwt-authentication-bundle (PHP):
Affected version(s) >=v2.0.0 <v2.10.7Fix Suggestion:
Update to version v2.10.7symfony/security-core (PHP):
Affected version(s) >=v5.0.0 <v5.2.8Fix Suggestion:
Update to version v5.2.8symfony/security (PHP):
Affected version(s) >=v2.8.0 <v3.4.49Fix Suggestion:
Update to version v3.4.49symfony/symfony (PHP):
Affected version(s) >=v5.0.0 <v5.2.9Fix Suggestion:
Update to version v5.2.9symfony/security-guard (PHP):
Affected version(s) >=v4.0.0 <v4.4.23Fix Suggestion:
Update to version v4.4.23symfony/maker-bundle (PHP):
Affected version(s) >=v1.30.0 <v1.31.1Fix Suggestion:
Update to version v1.31.1symfony/symfony (PHP):
Affected version(s) >=v2.8.0 <v3.4.49Fix Suggestion:
Update to version v3.4.49symfony/security-http (PHP):
Affected version(s) >=v5.1.0 <v5.2.8Fix Suggestion:
Update to version v5.2.8symfony/maker-bundle (PHP):
Affected version(s) >=1.27.0 <v1.29.2Fix Suggestion:
Update to version v1.29.2symfony/security-guard (PHP):
Affected version(s) >=v2.8.0 <v3.4.48Fix Suggestion:
Update to version v3.4.48lexik/jwt-authentication-bundle (PHP):
Affected version(s) >=v2.11.0 <v2.11.3Fix Suggestion:
Update to version v2.11.3symfony/security (PHP):
Affected version(s) >=v4.0.0 <v4.4.24Fix Suggestion:
Update to version v4.4.24Related Resources (24)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
CVSS v2
Base Score:
5
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
NONE
Weakness Type (CWE)
EPSS
Base Score:
1.71