CVE-2020-12689
HIGH 8.8CVSS 3.1OpenStack Keystone EC2 and/or credential endpoints are not protected from a scoped context
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.
- Published
- 7 May 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-269
- Also known as
- GHSA-chgw-36xv-47cwPYSEC-2020-53
- Sources
- NVDJSONOSV GHSA-chgw-36xv-47cwJSONOSV PYSEC-2020-53JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openstack | keystonecpe:2.3:a:openstack:keystone:*:*:*:*:*:*:*:* |
< 15.0.1 | 15.0.1 |
| NVD | openstack | keystonecpe:2.3:a:openstack:keystone:16.0.0:*:*:*:*:*:*:* |
= 16.0.0 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* |
= 18.04 | |
| OSV | PyPI | keystone | < 15.0.1 | 15.0.1 |
| OSV | PyPI | keystone | >= 16.0.0, < 16.0.1 | 16.0.1 |
References
- http://www.openwall.com/lists/oss-security/2020/05/07/2 · Mailing List, Third Party Advisory, WEB
- https://bugs.launchpad.net/keystone/+bug/1872735 · Patch, Third Party Advisory, WEB
- https://lists.apache.org/thread.html/re4ffc55cd2f1b55a26e07c83b3c22c3fe4bae6054d000a57fb48d8c2%40%3Ccommits.druid.apache.org%3E
- https://security.openstack.org/ossa/OSSA-2020-004.html · Vendor Advisory, WEB
- https://usn.ubuntu.com/4480-1/ · Third Party Advisory, WEB
- https://www.openwall.com/lists/oss-security/2020/05/06/5 · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-12689 · ADVISORY
- https://github.com/openstack/keystone/commit/37e9907a176dad6843819b1bec4946c3aecc4548 · WEB
- https://github.com/openstack/keystone · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/keystone/PYSEC-2020-53.yaml · WEB
- https://lists.apache.org/thread.html/re4ffc55cd2f1b55a26e07c83b3c22c3fe4bae6054d000a57fb48d8c2@%3Ccommits.druid.apache.org%3E · WEB
- https://github.com/advisories/GHSA-chgw-36xv-47cw · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 7 May 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 May 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 May 2022)