Openstack keystone: openstack keystone: authorization bypass via improper ec2 token handling
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 2 fixed, 4 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-639.
Summary
A flaw was found in OpenStack Keystone. This vulnerability allows remote authenticated users to bypass intended authorization restrictions. This occurs because OpenStack Keystone does not properly handle EC2 (Elastic Compute Cloud) tokens when a user's role has been removed from a tenant. An attacker can leverage a token associated with a removed user role to gain unauthorized access.
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 |
|---|---|---|---|---|---|
| Red Hat | OpenStack Essex for RHEL 6 | — | 2012.1.3-3.el6 | Patch available | CNA |
| Red Hat | OpenStack Folsom for RHEL 6 | — | 2012.2.1-1.el6ost | Patch available | CNA |
| Red Hat | Red Hat OpenStack Platform 13 (Queens) | — | — | No fix listed | CNA |
| Red Hat | Red Hat OpenStack Platform 16.2 | — | — | No fix listed | CNA |
| Red Hat | Red Hat OpenStack Platform 16.2 | — | — | No fix listed | CNA |
| Red Hat | Red Hat OpenStack Platform 17.1 | — | — | No fix listed | CNA |
| Red Hat | Red Hat OpenStack Platform 17.1 | — | — | No fix listed | CNA |
| Red Hat | Red Hat OpenStack Platform 18.0 | — | — | No fix listed | CNA |
| Red Hat | Red Hat OpenStack Platform 18.0 | — | — | No fix listed | CNA |
| — | Keystone (PyPI) | before 8.0.0a0 | 8.0.0a0 | Patch available | GHSA-qvpr-qm6w-6rcc |
- OpenStack Essex for RHEL 6 VendorRed Hat Affected — Fixed in 2012.1.3-3.el6 Patch available CNA
- OpenStack Folsom for RHEL 6 VendorRed Hat Affected — Fixed in 2012.2.1-1.el6ost Patch available CNA
- Red Hat OpenStack Platform 13 (Queens) VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat OpenStack Platform 16.2 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat OpenStack Platform 16.2 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat OpenStack Platform 17.1 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat OpenStack Platform 17.1 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat OpenStack Platform 18.0 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat OpenStack Platform 18.0 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Keystone (PyPI) Vendor— Affected before 8.0.0a0 Fixed in 8.0.0a0 Patch available GHSA-qvpr-qm6w-6rcc
Remediation
- Fix · GHSA-qvpr-qm6w-6rcc Keystone (PyPI) Fixed in 8.0.0a0 Advisory →
Red Hat 2 advisories
- RHSA-2012:1557 Released 2012-12-10 · Red Hat rating Moderateopenstack-keystone security, bug fix, and enhancement update
- OpenStack Folsom openstack-keystone-2012.2.1-1.el6ost, openstack-keystone-doc-2012.2.1-1.el6ost, python-keystone-2012.2.1-1.el6ost
- RHSA-2012:1556 Released 2012-12-10 · Red Hat rating Moderateopenstack-keystone security, bug fix, and enhancement update
- RHOS Essex Release openstack-keystone-2012.1.3-3.el6, openstack-keystone-doc-2012.1.3-3.el6, python-keystone-2012.1.3-3.el6 +1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenStack Platform 13 (Queens) | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 16.2 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 17.1 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 18.0 | Affected | No fix yet: Fix deferred |
| OpenStack Folsom | Fixed | RHSA-2012:1557 |
| RHOS Essex Release | Fixed | RHSA-2012:1556 |
Timeline
- 2026-10-02 Threatist record created from CVE-2012-5571
- 2026-10-03 Alias added: GHSA-qvpr-qm6w-6rcc
- 2026-10-30 Fix available: openstack-keystone@0:2012.1.3-3.el6, openstack-keystone@0:2012.2.1-1.el6ost · CNA
- 2026-10-30 2 new references · CNA
- 2026-10-30 Fix available: RHSA-2012:1556 · Red Hat
- 2026-10-30 Fix available: RHSA-2012:1557 · Red Hat
- 2026-10-30 Fix available: OpenStack Folsom, RHOS Essex Release · Red Hat
References
Patch 6
- http://www.openwall.com/lists/oss-security/2012/11/28/5
- http://www.openwall.com/lists/oss-security/2012/11/28/6
- https://bugs.launchpad.net/keystone/+bug/1064914
- https://github.com/openstack/keystone/commit/37308dd4f3e33f7bd0f71d83fd51734d1870713b
- https://github.com/openstack/keystone/commit/8735009dc5b895db265a1cd573f39f4acfca2a19
- https://github.com/openstack/keystone/commit/9d68b40cb9ea818c48152e6c712ff41586ad9653
Other 7
- http://lists.fedoraproject.org/pipermail/package-announce/2012-December/094286.html
- http://rhn.redhat.com/errata/RHSA-2012-1556.html
- http://rhn.redhat.com/errata/RHSA-2012-1557.html
- http://www.ubuntu.com/usn/USN-1641-1
- https://access.redhat.com/security/cve/CVE-2012-5571
- https://github.com/openstack/keystone
- https://github.com/pypa/advisory-database/tree/main/vulns/keystone/PYSEC-2012-35.yaml
More Red Hat vulnerabilities
- TI-2019-15875 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-15874 Protection mechanism failure in Jenkins Script Security Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2019-05363 Code injection in Elastic Kibana KEVCVSS 3.1CRITICAL 10.0
- TI-2019-03949 Out-of-bounds write in ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
- TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2012-5571 · CVE Program
- CVE-2012-5571 · NVD
- FIRST EPSS
- GHSA-qvpr-qm6w-6rcc · GitHub Advisory Database · CC BY 4.0
- CVE-2012-5571 · 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