CVEMETERBack to radar
OFFICIAL RECORD · PHP packages

CVE-2021-21424

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 5.3 · medium

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

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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 1.644% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T18:36:01.564Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 5.3 · published by GitHub_M
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Assessment source · checked 2026-11-19T12:55:41.986Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T18:36:01.564ZCISA KEV
cvssverified2026-11-19T12:55:41.986ZCVE Program
epssverified2026-11-19T18:27:05.361ZFIRST EPSS
patchesverified2026-11-19T12:52:34.260ZOSV
affectedverified2026-11-19T12:55:41.986ZCVE Program
lifecycleverified2026-11-19T12:55:41.986ZCVE Program

Affected versions and configuration

symfony symfony; default status: unknown: >= 2.8.0, < 3.4.48 [affected; scheme: unspecified]; >= 4.0.0, < 4.4.23 [affected; scheme: unspecified]; >= 5.0.0, < 5.2.8 [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "symfony",
      "product": "symfony",
      "versions": [
        {
          "status": "affected",
          "version": ">= 2.8.0, < 3.4.48"
        },
        {
          "status": "affected",
          "version": ">= 4.0.0, < 4.4.23"
        },
        {
          "status": "affected",
          "version": ">= 5.0.0, < 5.2.8"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://github.com/symfony/symfony/security/advisories/GHSA-5pv8-ppvj-4h68",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/symfony/symfony/commit/2a581d22cc621b33d5464ed65c4bc2057f72f011",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KENRNLB3FYXYGDWRBH2PDBOZZKOD7VY4/",
          "name": "FEDORA-2021-f3ad34aa9f",
          "tags": [
            "vendor-advisory",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VRUS2H2SSOQWNLBD35SKIWIDQEMV2PD3/",
          "name": "FEDORA-2021-121edb82dd",
          "tags": [
            "vendor-advisory",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UC7BND775DVZDQT3RMGD2HVB2PKLJDJW/",
          "name": "FEDORA-2021-c57937ab9f",
          "tags": [
            "vendor-advisory",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RH7TMM5CHQYBFFGXWRPJDPB3SKCZXI2M/",
          "name": "FEDORA-2021-2d145b95f6",
          "tags": [
            "vendor-advisory",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html",
          "name": "[debian-lts-announce] 20230711 [SECURITY] [DLA 3493-1] symfony security update",
          "tags": [
            "mailing-list",
            "x_transferred"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2024-08-03T18:09:16.141Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-5pv8-ppvj-4h68",
  "aliases": [
    "BIT-symfony-2021-21424",
    "CVE-2021-21424"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "5.1.0"
            },
            {
              "fixed": "5.2.8"
            }
          ]
        }
      ],
      "package": {
        "name": "symfony/security-http",
        "purl": "pkg:composer/symfony/security-http",
        "ecosystem": "Packagist"
      },
      "versions": [
        "v5.1.0",
        "v5.1.1",
        "v5.1.10",
        "v5.1.11",
        "v5.1.2",
        "v5.1.3",
        "v5.1.4",
        "v5.1.5",
        "v5.1.6",
        "v5.1.7",
        "v5.1.8",
        "v5.1.9",
        "v5.2.0",
        "v5.2.0-BETA1",
        "v5.2.0-BETA2",
        "v5.2.0-BETA3",
        "v5.2.0-RC1",
        "v5.2.0-RC2",
        "v5.2.1",
        "v5.2.2",
        "v5.2.3",
        "v5.2.4",
        "v5.2.5",
        "v5.2.6",
        "v5.2.7"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-5pv8-ppvj-4h68/GHSA-5pv8-ppvj-4h68.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/symfony/symfony/security/advisories/GHSA-5pv8-ppvj-4h68",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-21424",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/symfony/symfony/commit/2a581d22cc621b33d5464ed65c4bc2057f72f011",
      "type": "WEB"
    },
    {
      "url": "https://symfony.com/cve-2021-21424",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/VRUS2H2SSOQWNLBD35SKIWIDQEMV2PD3",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/UC7BND775DVZDQT3RMGD2HVB2PKLJDJW",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/RH7TMM5CHQYBFFGXWRPJDPB3SKCZXI2M",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/KENRNLB3FYXYGDWRBH2PDBOZZKOD7VY4",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VRUS2H2SSOQWNLBD35SKIWIDQEMV2PD3",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UC7BND775DVZDQT3RMGD2HVB2PKLJDJW",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RH7TMM5CHQYBFFGXWRPJDPB3SKCZXI2M",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KENRNLB3FYXYGDWRBH2PDBOZZKOD7VY4",
      "type": "WEB"
    },
    {
      "url": "https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html",
      "type": "WEB"
    },
    {
      "url": "https://github.com/symfony/symfony",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2021-21424.yaml",
      "type": "WEB"
    },
    {
      "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2021-21424.yaml",
      "type": "WEB"
    },
    {
      "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2021-21424.yaml",
      "type": "WEB"
    },
    {
      "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-guard/CVE-2021-21424.yaml",
      "type": "WEB"
    },
    {
      "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/maker-bundle/CVE-2021-21424.yaml",
      "type": "WEB"
    },
    {
      "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/lexik/jwt-authentication-bundle/CVE-2021-21424.yaml",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-200",
      "CWE-203"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "nvd_published_at": "2021-05-13T16:15:00Z",
    "github_reviewed_at": "2021-05-13T15:25:38Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryPackagist / packagesymfony/security-httpNot a distribution channel5.2.8Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history