{"schemaVersion":3,"id":"CVE-2012-5571","aliases":["GHSA-qvpr-qm6w-6rcc","PYSEC-2012-35","DEBIAN-CVE-2012-5571"],"status":"published","duplicateOf":null,"title":null,"description":"A flaw was found in OpenStack Keystone. This vulnerability allows remote authenticated users to bypass intended authorization restrictions. This occurs because OpenStack Keystone does not properly handle EC2 (Elastic Compute Cloud) tokens when a user's role has been removed from a tenant. An attacker can leverage a token associated with a removed user role to gain unauthorized access.","dates":{"published":"2012-12-18T01:00:00.000Z","modified":"2026-04-07T06:55:17.789Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":3.5,"severity":"low","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":7.2,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":7.2,"impact":4.2,"computed":true}]},"epss":{"probability":0.02055,"percentile":0.81008,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.02055},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02055,"percentile":0.81008}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02055,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02055,"percentile":0.81008}]},"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-639","name":"Authorization Bypass Through User-Controlled Key","description":"The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/639.html"},{"id":"CWE-255","name":"Credentials Management Errors","description":"Weaknesses in this category are related to the management of credentials.","type":"category","status":"Draft","abstraction":null,"likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/255.html"}],"affected":[{"vendor":"debian","product":"keystone","name":"keystone","label":"keystone","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/keystone","purlType":"deb","versions":[{"text":"< 2012.1.1-11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2012.1.1-11","eol":null,"hubHref":null},{"vendor":"openstack","product":"essex","name":"essex","label":"essex","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2012.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"2012.1","eol":null,"hubHref":"/vendor/openstack/essex"},{"vendor":"openstack","product":"folsom","name":"folsom","label":"folsom","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2012.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"2012.2","eol":null,"hubHref":"/vendor/openstack/folsom"},{"vendor":"PyPI","product":"keystone","name":"keystone","label":"keystone","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/keystone","purlType":"pypi","versions":[{"text":"< 8.0.0a0","noFixRecorded":false,"fixedIn":null},{"text":"< 9d68b40cb9ea818c48152e6c712ff41586ad9653","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"< 8.0.0a0 | < 9d68b40cb9ea818c48152e6c712ff41586ad9653 | All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-December/094286.html","label":"lists.fedoraproject.org/pipermail/package-announce/2012-December/094286.html","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"http://rhn.redhat.com/errata/RHSA-2012-1556.html","label":"rhn.redhat.com/errata/RHSA-2012-1556.html","hostname":"rhn.redhat.com","tags":["WEB","Advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2012-1557.html","label":"rhn.redhat.com/errata/RHSA-2012-1557.html","hostname":"rhn.redhat.com","tags":["WEB","Advisory"]},{"url":"http://secunia.com/advisories/51423","label":"secunia.com/advisories/51423","hostname":"secunia.com","tags":["Vendor Advisory","Advisory"]},{"url":"http://secunia.com/advisories/51436","label":"secunia.com/advisories/51436","hostname":"secunia.com","tags":["Vendor Advisory","Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2012/11/28/5","label":"www.openwall.com/lists/oss-security/2012/11/28/5","hostname":"www.openwall.com","tags":["Patch","WEB","FIX"]},{"url":"http://www.openwall.com/lists/oss-security/2012/11/28/6","label":"www.openwall.com/lists/oss-security/2012/11/28/6","hostname":"www.openwall.com","tags":["Patch","WEB","FIX"]},{"url":"http://www.securityfocus.com/bid/56726","label":"www.securityfocus.com/bid/56726","hostname":"www.securityfocus.com","tags":["WEB"]},{"url":"http://www.ubuntu.com/usn/USN-1641-1","label":"www.ubuntu.com/usn/USN-1641-1","hostname":"www.ubuntu.com","tags":["WEB","Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-5571","label":"access.redhat.com/security/cve/CVE-2012-5571","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","WEB"]},{"url":"https://bugs.launchpad.net/keystone/+bug/1064914","label":"bugs.launchpad.net/keystone/+bug/1064914","hostname":"bugs.launchpad.net","tags":["Patch","WEB","FIX"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/80333","label":"exchange.xforce.ibmcloud.com/vulnerabilities/80333","hostname":"exchange.xforce.ibmcloud.com","tags":["WEB"]},{"url":"https://github.com/openstack/keystone/commit/37308dd4f3e33f7bd0f71d83fd51734d1870713b","label":"github.com/openstack/keystone/commit/37308dd4f3e33f7bd0f71d83fd51734d1870713b","hostname":"github.com","tags":["Patch","WEB","FIX"]},{"url":"https://github.com/openstack/keystone/commit/8735009dc5b895db265a1cd573f39f4acfca2a19","label":"github.com/openstack/keystone/commit/8735009dc5b895db265a1cd573f39f4acfca2a19","hostname":"github.com","tags":["Patch","WEB","FIX"]},{"url":"https://github.com/openstack/keystone/commit/9d68b40cb9ea818c48152e6c712ff41586ad9653","label":"github.com/openstack/keystone/commit/9d68b40cb9ea818c48152e6c712ff41586ad9653","hostname":"github.com","tags":["Patch","WEB","FIX"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-5571","label":"nvd.nist.gov/vuln/detail/CVE-2012-5571","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/openstack/keystone","label":"github.com/openstack/keystone","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/keystone/PYSEC-2012-35.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/keystone/PYSEC-2012-35.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-qvpr-qm6w-6rcc","label":"github.com/advisories/GHSA-qvpr-qm6w-6rcc","hostname":"github.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-5571","label":"security-tracker.debian.org/tracker/CVE-2012-5571","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2012-12-18T01:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-04-07T06:55:17.789Z","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-20T15:47:59.647Z","stale":false,"partial":false}}