CVE-2012-5571 json
Openstack keystone: openstack keystone: authorization bypass via improper ec2 token handling
published 2012-12-18 13 y ago modified 2026-10-30 10 d ago also EUVD-2012-0016 , GHSA-qvpr-qm6w-6rcc , PYSEC-2012-35
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.0%
- EPSS 2.0% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi keystone 8.0.0a0
- Red Hat OpenStack Essex for RHEL 6 0:2012.1.3-3.el6
- Red Hat OpenStack Folsom for RHEL 6 0:2012.2.1-1.el6ost
- keystone Debian 14, Debian 13, Debian 12 2012.1.1-11
debian advisories DEBIAN-CVE-2012-5571
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-5571 updated cvss 5.4
OpenStack Keystone: OpenStack Keystone: Authorization bypass via improper EC2 token handling
-
Red Hat OpenStack Platform 13 (Queens) redhat-user-workloads/openstack-tenant/openstack-13/openstack-keystone/openstack-keystone Red Hat OpenStack Platform 16.2 python3-keystone, openstack-keystone, redhat-user-workloads/openstack-tenant/openstack-13/openstack-keystone/openstack-keystone Red Hat OpenStack Platform 17.1 python3-keystone, openstack-keystone, redhat-user-workloads/openstack-tenant/openstack-13/openstack-keystone/openstack-keystone Red Hat OpenStack Platform 18.0 openstack-keystone, redhat-user-workloads/openstack-tenant/openstack-13/openstack-keystone/openstack-keystoneaffected: no fix available “Fix deferred”
-
Red Hat OpenStack Folsom python-keystone 2012.2.1-1.el6ost, openstack-keystone 2012.2.1-1.el6ostfixed: vendor fix RHSA-2012:1557
-
Red Hat RHOS Essex Release python-keystone 2012.1.3-3.el6, openstack-keystone 2012.1.3-3.el6, python-keystone-auth-token 2012.1.3-3.el6fixed: vendor fix RHSA-2012:1556
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.05% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | keystone | <8.0.0a0 |
8.0.0a0 |
Affected products
- Red Hat OpenStack Essex for RHEL 6
- Red Hat OpenStack Folsom for RHEL 6
- Red Hat Red Hat OpenStack Platform 13 (Queens)
- Red Hat Red Hat OpenStack Platform 16.2
- Red Hat Red Hat OpenStack Platform 17.1
- Red Hat Red Hat OpenStack Platform 18.0
Classification
References
-
github.com
/openstack/keystone/commit/37308dd4f3e33f7bd0f71d83fd51734d1870713b
web, patch
-
github.com
/openstack/keystone/commit/8735009dc5b895db265a1cd573f39f4acfca2a19
web, patch
-
github.com
/openstack/keystone/commit/9d68b40cb9ea818c48152e6c712ff41586ad9653
web, patch
-
openwall.com
/lists/oss-security/2012/11/28/5
mailing-list, web, patch
-
openwall.com
/lists/oss-security/2012/11/28/6
mailing-list, web, patch
-
bugs.launchpad.net
/keystone/+bug/1064914
web, patch
-
lists.fedoraproject.org
/pipermail/package-announce/2012-December/094286.html
vendor-advisory, web
-
rhn.redhat.com
/errata/RHSA-2012-1556.html
vendor-advisory, web
-
rhn.redhat.com
/errata/RHSA-2012-1557.html
vendor-advisory, web
-
ubuntu.com
/usn/USN-1641-1
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2012:1556
vendor-advisory
-
access.redhat.com
/errata/RHSA-2012:1557
vendor-advisory
-
secunia.com
/advisories/51423
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/51436
third-party-advisory, vendor-advisory
-
securityfocus.com
/bid/56726
vdb-entry
-
access.redhat.com
/security/cve/CVE-2012-5571
vdb-entry, web
-
exchange.xforce.ibmcloud.com
/vulnerabilities/80333
vdb-entry, web
-
nvd.nist.gov
/vuln/detail/CVE-2012-5571
advisory
-
github.com
/openstack/keystone
package
-
github.com
/pypa/advisory-database/tree/main/vulns/keystone/PYSEC-2012-35.yaml
web
Sources
- CVE List CVE-2012-5571
- GitHub Advisory GHSA-qvpr-qm6w-6rcc
- NVD CVE-2012-5571
- OSV PYSEC-2012-35
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.