An issue was discovered in OpenStack Keystone before 15.0.1, and 16.0.0.
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass, Information disclosure
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 5 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-863 and CWE-311.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | keystone (PyPI) | before 15.0.1 | 15.0.1 | Patch available | GHSA-4427-7f3w-mqv6 |
| — | keystone (PyPI) | 16.0.0 to before 16.0.1 | 16.0.1 | Patch available | GHSA-4427-7f3w-mqv6 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- keystone (PyPI) Vendor— Affected before 15.0.1 Fixed in 15.0.1 Patch available GHSA-4427-7f3w-mqv6
- keystone (PyPI) Vendor— Affected 16.0.0 to before 16.0.1 Fixed in 16.0.1 Patch available GHSA-4427-7f3w-mqv6
Remediation
- Fix · GHSA-4427-7f3w-mqv6 keystone (PyPI) Fixed in 15.0.1 Advisory →
- Fix · GHSA-4427-7f3w-mqv6 keystone (PyPI) Fixed in 16.0.1 Advisory →
Red Hat 4 advisories
- RHSA-2020:3105 Released 2020-07-22 · Red Hat rating Importantopenstack-keystone security update
- Red Hat OpenStack Platform 16.0 openstack-keystone-1:16.0.1-0.20200511063421.40cbb7b.el8ost, python3-keystone-1:16.0.1-0.20200511063421.40cbb7b.el8ost
- RHSA-2020:3102 Released 2020-07-22 · Red Hat rating Importantopenstack-keystone security update
- Red Hat OpenStack Platform 15.0 openstack-keystone-1:15.0.1-0.20200512110437.95b2bbe.el8ost, python3-keystone-1:15.0.1-0.20200512110437.95b2bbe.el8ost
- RHSA-2020:3096 Released 2020-07-22 · Red Hat rating Importantopenstack-keystone security update
- Red Hat OpenStack Platform 10.0 openstack-keystone-1:10.0.3-8.el7ost, python-keystone-1:10.0.3-8.el7ost, python-keystone-tests-1:10.0.3-8.el7ost
Show 1 more Red Hat advisories
- RHSA-2020:2732 Released 2020-06-24 · Red Hat rating Importantopenstack-keystone security update
- Red Hat OpenStack Platform 13.0 openstack-keystone-1:13.0.4-3.el7ost, python-keystone-1:13.0.4-3.el7ost
- Red Hat OpenStack Platform 13.0 for RHEL 7.6 EUS Server openstack-keystone-1:13.0.4-3.el7ost, python-keystone-1:13.0.4-3.el7ost
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 10.0 | Fixed | RHSA-2020:3096 |
| Red Hat OpenStack Platform 13.0 | Fixed | RHSA-2020:2732 |
| Red Hat OpenStack Platform 13.0 for RHEL 7.6 EUS Server | Fixed | RHSA-2020:2732 |
| Red Hat OpenStack Platform 15.0 | Fixed | RHSA-2020:3102 |
| Red Hat OpenStack Platform 16.0 | Fixed | RHSA-2020:3105 |
Not affected: 2 products
- Red Hat JBoss Fuse 6
- Red Hat Quay 3
Timeline
- 2026-10-02 Threatist record created from CVE-2020-12691
- 2026-10-03 Alias added: GHSA-4427-7f3w-mqv6
References
Advisory 5
- https://security.openstack.org/ossa/OSSA-2020-004.html
- https://www.openwall.com/lists/oss-security/2020/05/06/5
- [oss-security] 20200507 Re: [OSSA-2020-004] Keystone: Keystone credential endpoints allow owner modification and are not protected from a scoped context (CVE PENDING)
- USN-4480-1
- https://nvd.nist.gov/vuln/detail/CVE-2020-12691
Other 10
- [druid-commits] 20200520 [GitHub] [druid] ccaominh opened a new pull request #9903: Suppress CVEs for openstack-keystone
- [druid-commits] 20210712 [druid] branch master updated: Suppress CVE-2021-27568 from json-smart 2.3 dependency (#11438)
- https://github.com/openstack/keystone/commit/37e9907a176dad6843819b1bec4946c3aecc4548
- https://github.com/openstack/keystone/commit/40cbb7bebd50276412daa1981ff5a7c7b3b899a5
- https://github.com/openstack/keystone/commit/95b2bbeab113d9f04d1c81f7f1b48bf692bce979
- https://github.com/openstack/keystone
- https://github.com/pypa/advisory-database/tree/main/vulns/keystone/PYSEC-2020-55.yaml
- https://lists.apache.org/thread.html/re237267da268c690df5e1c6ea6a38a7fc11617725e8049490f58a6fa@%3Ccommits.druid.apache.org%3E
- https://lists.apache.org/thread.html/re4ffc55cd2f1b55a26e07c83b3c22c3fe4bae6054d000a57fb48d8c2@%3Ccommits.druid.apache.org%3E
- https://usn.ubuntu.com/4480-1
Sources
- CVE-2020-12691 · CVE Program
- CVE-2020-12691 · NVD
- FIRST EPSS
- GHSA-4427-7f3w-mqv6 · GitHub Advisory Database · CC BY 4.0
- CVE-2020-12691 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences