CVE-2017-2673: Keystone OpenStack Identity Service (keystone) Incorrect Vulnerability
HIGHCVE-2017-2673 is a HIGH (CVSS 7.2) openstack identity service (keystone) incorrect vulnerability (CWE-863: Incorrect Authorization) affecting Keystone libraries in the PyPI ecosystem. The issue involves openstack identity service (keystone) incorrect authorization. Remediation is available by upgrading affected packages to version 10.0.2, 11.0.1.
CVE-2017-2673 at a Glance
Security Impact
CVSS: 7.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2017-2673
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>=Latest secure release
pip install keystone>=10.0.2
pip install keystone>=11.0.1
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-2017-2673, 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 10.0.2), 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-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. 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-2017-2673 Affected Keystone Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
keystone
|
PyPI |
≥ 9.0.0
≤ 9.3.0
|
|
|
keystone
|
PyPI |
≥ 10.0.0
< 10.0.2
|
10.0.2
|
|
keystone
|
PyPI |
≥ 11.0.0
< 11.0.1
All 1 versions
11.0.0
|
11.0.1
|
References
Frequently Asked Questions
What is CVE-2017-2673?
Which Keystone versions are affected?
What version fixes CVE-2017-2673?
Is keystone affected?
What is the CVSS score of CVE-2017-2673?
What CWE is associated with CVE-2017-2673?
How can I check PyPI dependencies for CVE-2017-2673?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j36m-hv43-7w7m",
"modified" : "2024-11-26T16:57:13Z",
"published" : "2022-05-13T01:07:31Z",
"aliases" : [ "CVE-2017-2673" ],
"summary" : "OpenStack Identity service (keystone) Incorrect Authorization",
"details" : "An authorization-check flaw was discovered in federation configurations of the OpenStack Identity service (keystone). An authenticated federated user could request permissions to a project and unintentionally be granted all related roles including administrative roles.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/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"
}, {
"last_affected" : "9.3.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "keystone"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "10.0.0"
}, {
"fixed" : "10.0.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 10.0.1"
}
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "keystone"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "11.0.0"
}, {
"fixed" : "11.0.1"
} ]
} ],
"versions" : [ "11.0.0" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-2673"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/keystone/commit/05a129e54573b6cbda1ec095f4526f2b9ba90a90"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/keystone/commit/2139639eeabc8f6941f4461fc87d609cde3118c2"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2017:1461"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2017:1597"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2017-2673"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/keystone/+bug/1677723"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1439586"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2673"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/keystone"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/keystone/PYSEC-2018-152.yaml"
}, {
"type" : "WEB",
"url" : "http://seclists.org/oss-sec/2017/q2/125"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/98032"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-14T17:26:51Z",
"nvd_published_at" : "2018-07-19T13:29:00Z"
}
}