cve.bz

CVE-2021-21424 Observable Discrepancy

5.3 mediumEPSS 1.6%Fix available

Medium (5.3). EPSS 1.6% estimated probability of exploitation activity in the next 30 days. Fixed in symfony/security 3.4.49, 4.4.24, 5.2.8.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
1.6% (unchanged from 1.6% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 77th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-203 Observable Discrepancy
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-21424 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-21424?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-21424?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-21424 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
sensiolabs:symfonyfrom 2.8.0 before 3.4.48
sensiolabs:symfonyfrom 4.0.0 before 4.4.23
sensiolabs:symfonyfrom 5.0.0 before 5.2.8
fedoraproject:fedora33
fedoraproject:fedora34

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5pv8-ppvj-4h68Packagistsymfony/security>=5.0.0 <5.2.85.2.8
GHSA-5pv8-ppvj-4h68Packagistsymfony/security-guard>=2.8.0 <3.4.483.4.48
GHSA-5pv8-ppvj-4h68Packagistsymfony/security-guard>=4.0.0 <4.4.234.4.23
GHSA-5pv8-ppvj-4h68Packagistsymfony/security-guard>=5.0.0 <5.2.85.2.8
GHSA-5pv8-ppvj-4h68Packagistsymfony/security-core>=2.8.0 <3.4.483.4.48
GHSA-5pv8-ppvj-4h68Packagistsymfony/security-core>=4.0.0 <4.4.234.4.23
GHSA-5pv8-ppvj-4h68Packagistsymfony/security-core>=5.0.0 <5.2.85.2.8
GHSA-5pv8-ppvj-4h68Packagistlexik/jwt-authentication-bundle>=2.0.0 <2.10.72.10.7
GHSA-5pv8-ppvj-4h68Packagistlexik/jwt-authentication-bundle>=2.11.0 <2.11.32.11.3
GHSA-5pv8-ppvj-4h68Packagistsymfony/maker-bundle>=1.27.0 <1.29.21.29.2
GHSA-5pv8-ppvj-4h68Packagistsymfony/maker-bundle>=1.30.0 <1.31.11.31.1
GHSA-5pv8-ppvj-4h68Packagistsymfony/security-http>=5.1.0 <5.2.85.2.8
GHSA-5pv8-ppvj-4h68Packagistsymfony/security>=2.8.0 <3.4.493.4.49
GHSA-5pv8-ppvj-4h68Packagistsymfony/security>=4.0.0 <4.4.244.4.24
GHSA-5pv8-ppvj-4h68Packagistsymfony/symfony>=2.8.0 <3.4.493.4.49
GHSA-5pv8-ppvj-4h68Packagistsymfony/symfony>=4.0.0 <4.4.244.4.24
GHSA-5pv8-ppvj-4h68Packagistsymfony/symfony>=5.0.0 <5.2.95.2.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10symfony3.4.22+dfsg-2+deb10u2DLA-3493-1
Debian12, 13, 14symfony4.4.19+dfsg-2DEBIAN-CVE-2021-21424
UbuntuPro:18.04:LTSsymfony3.4.6+dfsg-1ubuntu0.1+esm2UBUNTU-CVE-2021-21424 USN-5290-1
UbuntuPro:20.04:LTSsymfony4.3.8+dfsg-1ubuntu1+esm1UBUNTU-CVE-2021-21424 USN-5290-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-189 Black Box Reverse Engineering Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON