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

Summary

CVECVE-2012-5571
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2012-12-18 01:55:03 UTC
Updated2026-04-07 07:16:22 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 5.4 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

EPSS: 0.001520000 probability, percentile 0.358850000 (date 2026-04-07)

Problem Types: CWE-639 | CWE-255 | CWE-639 Authorization Bypass Through User-Controlled Key


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.4MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
3.1CNACVSS5.4MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
2.0[email protected]Primary3.5AV:N/AC:M/Au:S/C:N/I:P/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
Single
Confidentiality
None
Integrity
Partial
Availability
None

AV:N/AC:M/Au:S/C:N/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Openstack Essex 2012.1 All All All
Application Openstack Folsom 2012.2 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat OpenStack Platform 13 Queens Not specified Not specified
CNA Red Hat Red Hat OpenStack Platform 16.2 Not specified Not specified
CNA Red Hat Red Hat OpenStack Platform 16.2 Not specified Not specified
CNA Red Hat Red Hat OpenStack Platform 17.1 Not specified Not specified
CNA Red Hat Red Hat OpenStack Platform 17.1 Not specified Not specified
CNA Red Hat Red Hat OpenStack Platform 18.0 Not specified Not specified
CNA Red Hat Red Hat OpenStack Platform 18.0 Not specified Not specified

References

ReferenceSourceLinkTags
oss-security - [OSSA 2012-019] Extension of token validity through token chaining (CVE-2012-5563) af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Patch
[SECURITY] Fedora 17 Update: openstack-keystone-2012.1.3-3.fc17 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
Security Advisory SA51436 - Ubuntu update for keystone - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
access.redhat.com/security/cve/CVE-2012-5571 [email protected] access.redhat.com
oss-security - [OSSA 2012-018] EC2-style credentials invalidation issue (CVE-2012-5571) af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Patch
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Ensures User is member of tenant in ec2 validation · openstack/keystone@9d68b40 · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch
About Secunia Research | Flexera af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
USN-1641-1: OpenStack Keystone vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
Bug #1064914 “Removing user from a tenant isn't invalidating use...” : Bugs : Keystone af854a3a-2127-422b-91ae-364da2661108 bugs.launchpad.net Patch
OpenStack Keystone CVE-2012-5571 Security Bypass Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
Ensures User is member of tenant in ec2 validation · openstack/keystone@37308dd · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch
Ensures User is member of tenant in ec2 validation · openstack/keystone@8735009 · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2026-04-02T15:02:50.229ZReported to Red Hat.
CNA2012-12-18T01:00:00.000ZMade public.

Legacy QID Mappings

  • 996729 Python (Pip) Security Update for Keystone (GHSA-qvpr-qm6w-6rcc)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report