{"schemaVersion":3,"id":"CVE-2021-21424","aliases":["UBUNTU-CVE-2021-21424","DEBIAN-CVE-2021-21424"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-05-13T00:00:00.000Z","modified":"2024-08-03T18:09:16.141Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01644,"percentile":0.76085,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.068,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01712},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01644,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01644,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01644,"percentile":0.76085}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01644,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01644,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01644,"percentile":0.76085}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor","description":"The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-203","name":"Observable Discrepancy","description":"The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/203.html"}],"affected":[{"vendor":"debian","product":"symfony","name":"symfony","label":"symfony","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/symfony","purlType":"deb","versions":[{"text":"< 4.4.19+dfsg-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.4.19+dfsg-2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"symfony","name":"symfony","label":"symfony","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/symfony","purlType":"deb","versions":[{"text":"< 3.4.6+dfsg-1ubuntu0.1+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 4.3.8+dfsg-1ubuntu1+esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.4.6+dfsg-1ubuntu0.1+esm2 | < 4.3.8+dfsg-1ubuntu1+esm1","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"33","noFixRecorded":false,"fixedIn":null},{"text":"34","noFixRecorded":false,"fixedIn":null}],"versionsText":"33 | 34","eol":{"isEol":true,"eolDate":"2021-11-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"33","label":"33","eolFrom":"2021-11-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"sensiolabs","product":"symfony","name":"symfony","label":"symfony","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.8.0, < 3.4.48","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.4.23","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.2.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.8.0, < 3.4.48 | ≥ 4.0.0, < 4.4.23 | ≥ 5.0.0, < 5.2.8","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"symfony","label":"Symfony","category":"framework"}},"hubHref":"/vendor/sensiolabs/symfony"},{"vendor":"symfony","product":"symfony","name":"symfony","label":"symfony","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.8.0, < 3.4.48","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.4.23","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.2.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.8.0, < 3.4.48 | ≥ 4.0.0, < 4.4.23 | ≥ 5.0.0, < 5.2.8","eol":null,"hubHref":"/vendor/symfony/symfony"}],"affectedCount":5,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-5pv8-ppvj-4h68","label":"github.com/symfony/symfony/security/advisories/GHSA-5pv8-ppvj-4h68","hostname":"github.com","tags":["REPORT","Patch","Third Party Advisory"]},{"url":"https://github.com/symfony/symfony/commit/2a581d22cc621b33d5464ed65c4bc2057f72f011","label":"github.com/symfony/symfony/commit/2a581d22cc621b33d5464ed65c4bc2057f72f011","hostname":"github.com","tags":["REPORT","Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KENRNLB3FYXYGDWRBH2PDBOZZKOD7VY4/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VRUS2H2SSOQWNLBD35SKIWIDQEMV2PD3/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UC7BND775DVZDQT3RMGD2HVB2PKLJDJW/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RH7TMM5CHQYBFFGXWRPJDPB3SKCZXI2M/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html","label":"lists.debian.org/debian-lts-announce/2023/07/msg00014.html","hostname":"lists.debian.org","tags":["Mailing List"]},{"url":"https://ubuntu.com/security/CVE-2021-21424","label":"ubuntu.com/security/CVE-2021-21424","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://symfony.com/blog/cve-2021-21424-prevent-user-enumeration-in-authentication-mechanisms","label":"symfony.com/blog/cve-2021-21424-prevent-user-enumeration-in-authentication-mechanisms","hostname":"symfony.com","tags":["REPORT"]},{"url":"https://github.com/symfony/symfony/commit/f012eee6c6034a94566dff596fe4e16dfc5d9c1f","label":"github.com/symfony/symfony/commit/f012eee6c6034a94566dff596fe4e16dfc5d9c1f","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5290-1","label":"ubuntu.com/security/notices/USN-5290-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-21424","label":"www.cve.org/CVERecord?id=CVE-2021-21424","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-21424","label":"security-tracker.debian.org/tracker/CVE-2021-21424","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3493-1","USN-5290-1"],"duplicates":[],"related":["USN-5290-1"]},"timeline":[{"kind":"published","date":"2021-05-13T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T18:09:16.141Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T12:03:26.177Z","stale":false,"partial":false}}