CVE-2021-21424
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_MCVSS: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
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T18:36:01.564Z | CISA KEV |
| cvss | verified | 2026-11-19T12:55:41.986Z | CVE Program |
| epss | verified | 2026-11-19T18:27:05.361Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:34.260Z | OSV |
| affected | verified | 2026-11-19T12:55:41.986Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:55:41.986Z | CVE 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 JSONOSV · 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 JSONCorrection 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 type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Packagist / package | symfony/security-http | Not a distribution channel | 5.2.8 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:34.260ZArchived source JSON
Source publication: 2021-05-13T20:23:02.000Z
Source modification: 2026-09-10T03:49:04.871ZDocument fingerprint
afb16b885ddb8e0096c2eeb9c384da45a39ad4833414485bc4d08acd88832095 - FIRST EPSSConsulted: 2026-11-19T18:27:05.361ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
6edec3ff5408c9332bb5cad007615e6981ab6e76b387b737f9030d5936c5b5e2 - CVE ProgramConsulted: 2026-11-19T12:55:41.986ZArchived source JSON
Source publication: 2021-05-13T00:00:00.000Z
Source modification: 2024-08-03T18:09:16.141ZDocument fingerprint
ba16917a189ce7a44a781ebf4462b0c8ac59cd20315876c3d48f7b48a6f50fc8 - CISA KEVConsulted: 2026-11-19T18:36:01.564ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56
Official status history
- UNKNOWN → PUBLISHED · · evidence