CVEfocus › CVE database › CVE-2021-21424

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

CVSS 5.3 MediumEPSS 1.6% (higher than 77% of CVEs)Published 2021-05-13Updated 2024-08-03Assigner: GitHub_M

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.

CWE-200

What to do

Fixed builds are available from Debian, Packagist: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

10Fixed
3Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04symfonyFix pending4.3.8+dfsg-1ubuntu1+esm1 (Ubuntu Pro)UBUNTU-CVE-2021-21424
Ubuntu 18.04symfonyFix pending3.4.6+dfsg-1ubuntu0.1+esm2 (Ubuntu Pro)UBUNTU-CVE-2021-21424
Ubuntu 16.04symfonyFix pending
Debian 14symfonyFixed4.4.19+dfsg-2DEBIAN-CVE-2021-21424
Debian 13symfonyFixed4.4.19+dfsg-2DEBIAN-CVE-2021-21424
Debian 12symfonyFixed4.4.19+dfsg-2DEBIAN-CVE-2021-21424
Packagist librarylexik/jwt-authentication-bundleFixed2.11.3GHSA-5pv8-ppvj-4h68
Packagist librarysymfony/maker-bundleFixed1.31.1GHSA-5pv8-ppvj-4h68
Packagist librarysymfony/securityFixed5.2.8GHSA-5pv8-ppvj-4h68
Packagist librarysymfony/security-coreFixed4.4.23GHSA-5pv8-ppvj-4h68
Packagist librarysymfony/security-guardFixed5.2.8GHSA-5pv8-ppvj-4h68
Packagist librarysymfony/security-httpFixed5.2.8GHSA-5pv8-ppvj-4h68
Packagist librarysymfony/symfonyFixed5.2.9GHSA-5pv8-ppvj-4h68

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.