CVEfocus › CVE database › CVE-2012-5571

CVE-2012-5571Openstack keystone: openstack keystone: authorization bypass via improper ec2 token…

CVSS 5.4 MediumEPSS 2.0% (higher than 82% of CVEs)Published 2012-12-18Updated 2026-10-30Assigner: redhat

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.

CWE-639

What to do

Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Debian 14keystoneFixed2012.1.1-11DEBIAN-CVE-2012-5571
Debian 13keystoneFixed2012.1.1-11DEBIAN-CVE-2012-5571
Debian 12keystoneFixed2012.1.1-11DEBIAN-CVE-2012-5571
PyPI librarykeystoneFixed8.0.0a0GHSA-qvpr-qm6w-6rcc

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.