Skip to content
Fencer Intel
medium 5.4

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-keystone
    affected: no fix available “Fix deferred”
  • Red Hat OpenStack Folsom python-keystone 2012.2.1-1.el6ost, openstack-keystone 2012.2.1-1.el6ost
    fixed: 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.el6
    fixed: 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

Weakness
  • CWE-639 Authorization Bypass Through User-Controlled Key
  • CWE-255 Credentials Management Errors

References

Sources

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.