VDB

CVE-2021-21424

CVE-2021-21424 PUBLISHED CVSS 5.3 MEDIUM

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

Reported by github_m · Published May 13, 2021

symfony/form is fixed in 5.2.8, 4.4.23 and 3.4.48 (Packagist)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
symfony/formPackagist5.2.8, 4.4.23, 3.4.48
symfony/http-foundationPackagist5.2.8, 4.4.23, 3.4.48
symfony/symfonyPackagist5.2.9, 4.4.24, 3.4.49
symfonyUbuntu:Pro:20.04:LTS4.3.8+dfsg-1ubuntu1+esm1

Risk scores

CVSS 3.1
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected products

VendorProductVersions
symfonysymfony>= 2.8.0, < 3.4.48, >= 4.0.0, < 4.4.23, >= 5.0.0, < 5.2.8
symfonysymfony2.8.0, 4.0.0, 5.0.0

Timeline

  • May 13, 2021 CVE Published
  • May 14, 2021 EPSS Score (30 in total, the first dated here)
  • Aug 3, 2024 CVE Updated
  • Apr 15, 2025 PoC Published (2 in total, the first dated here)
  • Mar 7, 2026 Distribution Patch
  • Mar 7, 2026 Security Advisory (2 in total, the first dated here)
  • Aug 26, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-21424
vulnetix vdb fixes CVE-2021-21424

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-21424/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›