{"api_version":"1","generated_at":"2026-04-30T16:05:01+00:00","cve":"CVE-2021-21424","urls":{"html":"https://cve.report/CVE-2021-21424","api":"https://cve.report/api/cve/CVE-2021-21424.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-21424","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-21424"},"summary":{"title":"CVE-2021-21424","description":"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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-05-13 16:15:00","updated_at":"2023-11-07 03:30:00"},"problem_types":["CWE-200"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UC7BND775DVZDQT3RMGD2HVB2PKLJDJW/","name":"FEDORA-2021-c57937ab9f","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: php-symfony3-3.4.49-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VRUS2H2SSOQWNLBD35SKIWIDQEMV2PD3/","name":"FEDORA-2021-121edb82dd","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: php-symfony4-4.4.24-1.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RH7TMM5CHQYBFFGXWRPJDPB3SKCZXI2M/","name":"FEDORA-2021-2d145b95f6","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: php-symfony4-4.4.24-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-5pv8-ppvj-4h68","name":"https://github.com/symfony/symfony/security/advisories/GHSA-5pv8-ppvj-4h68","refsource":"CONFIRM","tags":[],"title":"Prevent user enumeration in authentication mechanisms · Advisory · symfony/symfony · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KENRNLB3FYXYGDWRBH2PDBOZZKOD7VY4/","name":"FEDORA-2021-f3ad34aa9f","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 33 Update: php-symfony3-3.4.49-1.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VRUS2H2SSOQWNLBD35SKIWIDQEMV2PD3/","name":"FEDORA-2021-121edb82dd","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 33 Update: php-symfony4-4.4.24-1.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/symfony/symfony/commit/2a581d22cc621b33d5464ed65c4bc2057f72f011","name":"https://github.com/symfony/symfony/commit/2a581d22cc621b33d5464ed65c4bc2057f72f011","refsource":"MISC","tags":[],"title":"security #cve-2021-21424 [Security][Guard] Prevent user enumeration (… · symfony/symfony@2a581d2 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html","name":"[debian-lts-announce] 20230711 [SECURITY] [DLA 3493-1] symfony security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 3493-1] symfony security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UC7BND775DVZDQT3RMGD2HVB2PKLJDJW/","name":"FEDORA-2021-c57937ab9f","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: php-symfony3-3.4.49-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RH7TMM5CHQYBFFGXWRPJDPB3SKCZXI2M/","name":"FEDORA-2021-2d145b95f6","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: php-symfony4-4.4.24-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KENRNLB3FYXYGDWRBH2PDBOZZKOD7VY4/","name":"FEDORA-2021-f3ad34aa9f","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: php-symfony3-3.4.49-1.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-21424","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21424","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"21424","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"21424","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"21424","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"sensiolabs","cpe5":"symfony","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-21424","qid":"179643","title":"Debian Security Update for symfony (CVE-2021-21424)"},{"cve":"CVE-2021-21424","qid":"281124","title":"Fedora Security Update for php (FEDORA-2021-121edb82dd)"},{"cve":"CVE-2021-21424","qid":"281125","title":"Fedora Security Update for php (FEDORA-2021-2d145b95f6)"},{"cve":"CVE-2021-21424","qid":"281126","title":"Fedora Security Update for php (FEDORA-2021-f3ad34aa9f)"},{"cve":"CVE-2021-21424","qid":"281127","title":"Fedora Security Update for php (FEDORA-2021-c57937ab9f)"},{"cve":"CVE-2021-21424","qid":"6000143","title":"Debian Security Update for symfony (DLA 3493-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-21424","STATE":"PUBLIC","TITLE":"Prevent user enumeration using Guard or the new Authenticator-based Security"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"symfony","version":{"version_data":[{"version_value":">= 2.8.0, < 3.4.48"},{"version_value":">= 4.0.0, < 4.4.23"},{"version_value":">= 5.0.0, < 5.2.8"}]}}]},"vendor_name":"symfony"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor "}]}]},"references":{"reference_data":[{"name":"https://github.com/symfony/symfony/security/advisories/GHSA-5pv8-ppvj-4h68","refsource":"CONFIRM","url":"https://github.com/symfony/symfony/security/advisories/GHSA-5pv8-ppvj-4h68"},{"name":"https://github.com/symfony/symfony/commit/2a581d22cc621b33d5464ed65c4bc2057f72f011","refsource":"MISC","url":"https://github.com/symfony/symfony/commit/2a581d22cc621b33d5464ed65c4bc2057f72f011"},{"refsource":"FEDORA","name":"FEDORA-2021-f3ad34aa9f","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KENRNLB3FYXYGDWRBH2PDBOZZKOD7VY4/"},{"refsource":"FEDORA","name":"FEDORA-2021-121edb82dd","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VRUS2H2SSOQWNLBD35SKIWIDQEMV2PD3/"},{"refsource":"FEDORA","name":"FEDORA-2021-c57937ab9f","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UC7BND775DVZDQT3RMGD2HVB2PKLJDJW/"},{"refsource":"FEDORA","name":"FEDORA-2021-2d145b95f6","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RH7TMM5CHQYBFFGXWRPJDPB3SKCZXI2M/"},{"refsource":"MLIST","name":"[debian-lts-announce] 20230711 [SECURITY] [DLA 3493-1] symfony security update","url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html"}]},"source":{"advisory":"GHSA-5pv8-ppvj-4h68","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-05-13 16:15:00","lastModifiedDate":"2023-11-07 03:30:00","problem_types":["CWE-200"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":3.9,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0.0","versionEndExcluding":"4.4.23","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*","versionStartIncluding":"2.8.0","versionEndExcluding":"3.4.48","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0.0","versionEndExcluding":"5.2.8","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"21424","Ordinal":"195550","Title":"CVE-2021-21424","CVE":"CVE-2021-21424","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"21424","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"21424","Ordinal":"2","NoteData":"2021-05-13","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"21424","Ordinal":"3","NoteData":"2021-05-28","Type":"Other","Title":"Modified"}]}}}