CVE-2013-6391 in Canonical Ubuntu Linux and 2 more products
The ec2tokens API in OpenStack Identity (Keystone) before Havana 2013.2.1 and Icehouse before icehouse-2 does not return a trust-scoped token when one is received, which allows remote trust users to gain privileges by generating EC2 credentials from a trust-scoped token and using them in an ec2tokens API request.
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 13.10 |
| Openstack | Keystone | ≥ 2013.2, < 2013.2.1 |
| Redhat | Openstack | 4.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
The ec2tokens API in OpenStack Identity (Keystone) before Havana 2013.2.1 and Icehouse before icehouse-2 does not return a trust-scoped token when one is received, which allows remote trust users to gain privileges by generating EC2 credentials from a trust-scoped token and using them in an ec2tokens API request.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2013-6391 |
|---|---|
| BreachSpider ID | BS-2013-GLOBAL-096241-M |
| CVSS vector | AV:N/AC:M/Au:N/C:P/I:P/A:N |
| Published | 2013-12-14 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-269: Improper Privilege Management
Software does not properly assign, modify, track, or check privileges, allowing unauthorized elevation of access.
Related attack patterns (CAPEC)
CAPEC-58 Restful Privilege Elevation via CWE-269
CAPEC-122 Privilege Abuse via CWE-269
CAPEC-233 Privilege Escalation via CWE-269
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2013. A medium severity vulnerability affects Canonical systems (CVE-2013-6391). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: The ec2tokens API in OpenStack Identity (Keystone) before Havana 2013.2.1 and Icehouse before icehouse-2 does not return a trust-scoped token when one is received, which allows remote trust users to gain privileges by generating EC2 credentials from a trust-scoped token and using them in an ec2tokens API request. CVSS vector: AV:N/AC:M/Au:N/C:P/I:P/A:N.
Questions
What is CVE-2013-6391?
This vulnerability was disclosed in 2013. A medium severity vulnerability affects Canonical systems (CVE-2013-6391). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2013-6391?
CVE-2013-6391 has CVSS 5.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:N. EPSS: 2.2%.
Is CVE-2013-6391 actively exploited?
No confirmed active exploitation of CVE-2013-6391 as of 2026-09-25.
How do I remediate CVE-2013-6391?
Priority: MONITOR. Advisory: http://rhn.redhat.com/errata/RHSA-2014-0089.html
What systems are affected by CVE-2013-6391?
CVE-2013-6391 affects Canonical Ubuntu Linux; Openstack Keystone; Redhat Openstack.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.