CVE-2015-7546: Keystone OpenStack Identity Keystone And Keystonemiddleware Vulnerability
HIGHCVE-2015-7546 is a HIGH (CVSS 7.5) openstack identity keystone and keystonemiddleware vulnerability (CWE-522: Insufficiently Protected Credentials) affecting Keystone libraries in the PyPI ecosystem. The issue involves openstack identity keystone and keystonemiddleware insufficiently protected credentials. Remediation is available by upgrading affected packages to version 9.0.0.0b2, 4.1.0, 8.1.0, 1.5.4, 2.3.3.
CVE-2015-7546 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2015-7546
To remediate this vulnerability, upgrade all affected Keystone dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install keystone>=9.0.0.0b2
pip install keystonemiddleware>=4.1.0
pip install keystone>=8.1.0
pip install keystonemiddleware>=1.5.4
pip install keystonemiddleware>=2.3.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show keystone
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2015-7546, inspect your installed packages using pip:
pip show keystone
Analyze the terminal output to locate any version of Keystone in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.0.0.0b2), your application is affected.
Note: The pip show keystone command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-522: Insufficiently Protected Credentials, where the product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval. In Keystone, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2015-7546 Affected Keystone Versions
5 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
keystone
|
PyPI |
≥ 9.0.0.0b1
< 9.0.0.0b2
|
9.0.0.0b2
|
|
keystonemiddleware
|
PyPI |
≥ 2.4.0
< 4.1.0
|
4.1.0
|
|
keystone
|
PyPI |
≥ 8.0
< 8.1.0
|
8.1.0
|
|
keystonemiddleware
|
PyPI |
< 1.5.4
|
1.5.4
|
|
keystonemiddleware
|
PyPI |
≥ 1.6.0
< 2.3.3
|
2.3.3
|
References
Frequently Asked Questions
What is CVE-2015-7546?
Which Keystone versions are affected?
What version fixes CVE-2015-7546?
Is keystone affected?
Is keystonemiddleware affected?
What is the CVSS score of CVE-2015-7546?
What CWE is associated with CVE-2015-7546?
How can I check PyPI dependencies for CVE-2015-7546?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8c4w-v65p-jvcv",
"modified" : "2024-09-27T21:16:02Z",
"published" : "2022-05-13T01:26:10Z",
"aliases" : [ "CVE-2015-7546" ],
"summary" : "OpenStack Identity Keystone and keystonemiddleware Insufficiently Protected Credentials",
"details" : "The identity service in OpenStack Identity (Keystone) before 2015.1.3 (Kilo) and 8.0.x before 8.0.2 (Liberty) and keystonemiddleware (formerly python-keystoneclient) before 1.5.4 (Kilo) and Liberty before 2.3.3 does not properly invalidate authorization tokens when using the PKI or PKIZ token providers, which allows remote authenticated users to bypass intended access restrictions and gain access to cloud resources by manipulating byte fields within a revoked token.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "keystone"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.0.0.0b1"
}, {
"fixed" : "9.0.0.0b2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "keystonemiddleware"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.4.0"
}, {
"fixed" : "4.1.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "keystone"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0"
}, {
"fixed" : "8.1.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "keystonemiddleware"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.5.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "keystonemiddleware"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.6.0"
}, {
"fixed" : "2.3.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-7546"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/keystone/commit/bff03b5726fe5cac93d44a66715eea49b89c8cb0"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/keystone/commit/d5378f173da14a34ca010271477337879002d6d0"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/keystonemiddleware/commit/96ab58e6863c92575ada57615b19652e502adfd8"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/keystone/+bug/1490804"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/keystonemiddleware/PYSEC-2016-20.yaml"
}, {
"type" : "WEB",
"url" : "https://security.openstack.org/ossa/OSSA-2016-005.html"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200228002640/http://www.securityfocus.com/bid/80498"
}, {
"type" : "WEB",
"url" : "https://wiki.openstack.org/wiki/OSSN/OSSN-0062"
}, {
"type" : "WEB",
"url" : "http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-522" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-29T16:17:23Z",
"nvd_published_at" : "2016-02-03T18:59:00Z"
}
}