CVE-2012-5571

Openstack keystone: openstack keystone: authorization bypass via improper ec2 token handling

5.4 medium EPSS 2.05%

Published 18 Dec 2012 Updated 30 Oct 2026 CNA: redhat

Check your servers for CVE-2012-5571

The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2012-5571 affects openstack-keystone, with the command that installs the fix. The free plan covers one server and does not need a credit card.

Check my servers

Description

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.

Severity (CVSS)

5.4 medium CVSS 3.1 from redhat (CNA)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality low, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 2.05%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 81.8% of all scored CVEs. Scores of 26 Nov 2026.

Weakness

  • CWE-639 Authorization Bypass Through User-Controlled Key

Affected products

As the CNA lists them.

ProductVersions
OpenStack Essex for RHEL 6
package openstack-keystone
unaffected 0:2012.1.3-3.el6 and later
Other versions: affected
OpenStack Folsom for RHEL 6
package openstack-keystone
unaffected 0:2012.2.1-1.el6ost and later
Other versions: affected
Red Hat OpenStack Platform 13 (Queens)
package redhat-user-workloads/openstack-keystone
affected the record does not list versions
Red Hat OpenStack Platform 16.2
package openstack-keystone
affected the record does not list versions
Red Hat OpenStack Platform 16.2
package redhat-user-workloads/openstack-keystone
affected the record does not list versions
Red Hat OpenStack Platform 17.1
package openstack-keystone
affected the record does not list versions
Red Hat OpenStack Platform 17.1
package redhat-user-workloads/openstack-keystone
affected the record does not list versions
Red Hat OpenStack Platform 18.0
package openstack-keystone
affected the record does not list versions
Red Hat OpenStack Platform 18.0
package redhat-user-workloads/openstack-keystone
affected the record does not list versions

Is my server affected?

Find the installed version of openstack-keystone and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i openstack-keystone
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2012-5571 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2012-5571

RHEL, Rocky, Alma, Fedora

rpm -q openstack-keystone
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2012-5571

Alpine

apk list --installed | grep -i openstack-keystone

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2012-5571
trivy image --scanners vuln IMAGE | grep CVE-2012-5571

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.

References

Advisories

Other references

Source: the record CVE-2012-5571 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.