{"id":"CVE-2020-12689","published":"2020-05-06T23:43:20Z","modified":"2024-08-04T12:04:22Z","title":"An issue was discovered in OpenStack Keystone before 15.0.1, and 16.0.0","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01562,"percentile":0.75869,"provenance":"source"},"cwes":[],"references":[{"url":"https://security.openstack.org/ossa/OSSA-2020-004.html","tags":["x_refsource_CONFIRM"]},{"url":"https://bugs.launchpad.net/keystone/+bug/1872735","tags":["x_refsource_MISC"]},{"url":"https://www.openwall.com/lists/oss-security/2020/05/06/5","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2020/05/07/2","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/re4ffc55cd2f1b55a26e07c83b3c22c3fe4bae6054d000a57fb48d8c2%40%3Ccommits.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://usn.ubuntu.com/4480-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":15.17}]},"affected":[{"ecosystem":"PyPI","package":"keystone","vulnerableRanges":["<15.0.1",">=16.0.0, <16.0.1"],"patched":["15.0.1","16.0.1"],"from":["GHSA-chgw-36xv-47cw","PYSEC-2020-53"],"provenance":"source"}],"summary":{"text":"The flaw is in OpenStack Keystone, the identity service, before 15.0.1 and in 16.0.0, where EC2 credential creation does not properly enforce the requester's permissions. An attacker who is already authenticated with a limited-scope credential (trust, OAuth, or application credential) and holds only a restricted role such as viewer can create an EC2 credential carrying escalated privileges, including admin, letting them act as admin on a project where another user holds the admin role and potentially gain global admin rights.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:05Z"},"euvd":{"id":"EUVD-2020-0095","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-keystone-cve-2019-19687","parents":[{"from":"CVE-2019-19687","to":"CVE-2020-12689","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["keystone/api/credentials.py"],"commits":["https://github.com/openstack/keystone/commit/17947516b0095c51da5cff94771247f2e7c44ee6","https://github.com/openstack/keystone/commit/17c337dbdbfb9d548ad531c2ad0483c9bce5b98f","https://github.com/openstack/keystone/commit/37e9907a176dad6843819b1bec4946c3aecc4548"],"basis":"rarely changed file"}]}]}}