CVE-2021-21424

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

MEDIUM
5.3
CVSS Score
Published: May 13, 2021 at 12:00 AM UTC
Updated: June 17, 2026 at 03:35 AM UTC
3 products affected across 3 vendorsFedoraSymfonySymfony

Using symfony by symfony?

Get instant alerts when new vulnerabilities affect symfony - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.8.0 ≤ v < 3.4.484.0.0 ≤ v < 4.4.235.0.0 ≤ v < 5.2.8
Affected range stops below 3.4.48, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.4.23, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.2.8, so it looks safe — our inference, not a vendor statement
v < 3.4.48v < 4.4.23v < 5.2.8
Affected range stops below 3.4.48, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.4.23, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.2.8, so it looks safe — our inference, not a vendor statement

CVSS

5.3MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-200CWE-203

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card