{"id":"CVE-2020-12691","published":"2020-05-06T23:43:01Z","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 authenticated user can create an EC2 credential for themselves for a project that they have a specified role on, and then perform an update to the credential user and project, allowing them to masquerade as another user. 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.04918,"percentile":0.9232,"provenance":"source"},"cwes":[],"references":[{"url":"https://security.openstack.org/ossa/OSSA-2020-004.html","tags":["x_refsource_CONFIRM"]},{"url":"https://www.openwall.com/lists/oss-security/2020/05/06/5","tags":["x_refsource_MISC"]},{"url":"https://bugs.launchpad.net/keystone/+bug/1872733","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"]},{"url":"https://lists.apache.org/thread.html/re237267da268c690df5e1c6ea6a38a7fc11617725e8049490f58a6fa%40%3Ccommits.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":18.46}]},"affected":[{"ecosystem":"PyPI","package":"keystone","vulnerableRanges":["<15.0.1",">=16.0.0, <16.0.1"],"patched":["15.0.1","16.0.1"],"from":["GHSA-4427-7f3w-mqv6","PYSEC-2020-55"],"provenance":"source"}],"summary":{"text":"The flaw lies in OpenStack Keystone, the identity service, in versions before 15.0.1 and 16.0.0, where EC2 credential handling is involved. An attacker who holds any valid authenticated account can create an EC2 credential for a project they have a role on, then update that credential's user and project to impersonate another user, potentially including an admin of a project where another user holds the admin role.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:13:33Z"},"euvd":{"id":"EUVD-2020-0097","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-keystone-cve-2019-19687","parents":[{"from":"CVE-2019-19687","to":"CVE-2020-12691","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","https://github.com/openstack/keystone/commit/40cbb7bebd50276412daa1981ff5a7c7b3b899a5"],"basis":"rarely changed file"}]}]}}