{"schemaVersion":3,"id":"CVE-2020-12689","aliases":["GHSA-chgw-36xv-47cw","PYSEC-2020-53","UBUNTU-CVE-2020-12689","DEBIAN-CVE-2020-12689"],"status":"published","duplicateOf":null,"title":null,"description":"An issue was discovered in OpenStack Keystone before 15.0.1, and 16.0.0. Any user authenticated within a limited scope (trust/oauth/application credential) can create an EC2 credential with an escalated permission, such as obtaining admin while the user is on a limited viewer role. This potentially allows a malicious user to act as the admin on a project another user has the admin role on, which can effectively grant that user global admin privileges.","dates":{"published":"2020-05-06T23:43:20.000Z","modified":"2024-08-04T12:04:22.561Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01562,"percentile":0.74892,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01562},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01562,"percentile":0.74892}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01562,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01562,"percentile":0.74892}]},"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-269","name":"Improper Privilege Management","description":"The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/269.html"}],"affected":[{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"18.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"18.04","eol":{"isEol":true,"eolDate":"2023-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"18.04","label":"18.04 'Bionic Beaver' (LTS)","eolFrom":"2023-05-31T00:00:00.000Z","isLts":true,"isMaintained":true,"latestVersion":"18.04.6"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"keystone","name":"keystone","label":"keystone","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/keystone","purlType":"deb","versions":[{"text":"< 2:17.0.0~rc2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:17.0.0~rc2-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"keystone","name":"keystone","label":"keystone","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/keystone","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2:13.0.4-0ubuntu1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2:13.0.4-0ubuntu1","eol":null,"hubHref":null},{"vendor":"openstack","product":"keystone","name":"Keystone","label":"keystone","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 15.0.1","noFixRecorded":false,"fixedIn":null},{"text":"16.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 15.0.1 | 16.0.0","eol":null,"hubHref":"/vendor/openstack/keystone"},{"vendor":"PyPI","product":"keystone","name":"keystone","label":"keystone","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/keystone","purlType":"pypi","versions":[{"text":"≥ 16.0.0, < 16.0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 15.0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 16.0.0, < 16.0.1 | < 15.0.1","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://security.openstack.org/ossa/OSSA-2020-004.html","label":"security.openstack.org/ossa/OSSA-2020-004.html","hostname":"security.openstack.org","tags":["X Refsource CONFIRM","WEB","Vendor Advisory"]},{"url":"https://bugs.launchpad.net/keystone/+bug/1872735","label":"bugs.launchpad.net/keystone/+bug/1872735","hostname":"bugs.launchpad.net","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://www.openwall.com/lists/oss-security/2020/05/06/5","label":"www.openwall.com/lists/oss-security/2020/05/06/5","hostname":"www.openwall.com","tags":["X Refsource MISC","WEB","REPORT","Mailing List","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2020/05/07/2","label":"www.openwall.com/lists/oss-security/2020/05/07/2","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","WEB","Third Party Advisory"]},{"url":"https://lists.apache.org/thread.html/re4ffc55cd2f1b55a26e07c83b3c22c3fe4bae6054d000a57fb48d8c2%40%3Ccommits.druid.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://usn.ubuntu.com/4480-1/","label":"usn.ubuntu.com/4480-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","WEB","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12689","label":"nvd.nist.gov/vuln/detail/CVE-2020-12689","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/openstack/keystone/commit/37e9907a176dad6843819b1bec4946c3aecc4548","label":"github.com/openstack/keystone/commit/37e9907a176dad6843819b1bec4946c3aecc4548","hostname":"github.com","tags":["WEB"]},{"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-2020-53.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/keystone/PYSEC-2020-53.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/re4ffc55cd2f1b55a26e07c83b3c22c3fe4bae6054d000a57fb48d8c2@%3Ccommits.druid.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://usn.ubuntu.com/4480-1","label":"usn.ubuntu.com/4480-1","hostname":"usn.ubuntu.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-chgw-36xv-47cw","label":"github.com/advisories/GHSA-chgw-36xv-47cw","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-12689","label":"ubuntu.com/security/CVE-2020-12689","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4480-1","label":"ubuntu.com/security/notices/USN-4480-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-12689","label":"www.cve.org/CVERecord?id=CVE-2020-12689","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-12689","label":"security-tracker.debian.org/tracker/CVE-2020-12689","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-4679-1","RHSA-2020:2732","RHSA-2020:3096","RHSA-2020:3102","RHSA-2020:3105","USN-4480-1"],"duplicates":[],"related":["USN-4480-1"]},"timeline":[{"kind":"published","date":"2020-05-06T23:43:20.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T12:04:22.561Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T16:38:56.066Z","stale":false,"partial":false}}