Vulnerabilities in pkg:pypi/oslo.middleware
PACKAGECVE-2017-2592 is a HIGH (CVSS 5.5) oslo.middleware information disclosure vulnerability vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Oslo.middleware libraries in the PyPI ecosystem. The issue involves oslo.middleware information disclosure vulnerability. Remediation is available by upgrading affected packages to version 3.19.1, 3.8.1, 3.23.1.
pkg:pypi/oslo.middleware
Vulnerability advisories affecting package pkg:pypi/oslo.middleware. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-xcp8-hh74-f6mc | CVE-2017-2592 | HIGH | oslo.middleware Information Disclosure vulnerability |
CVE-2017-2592 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2017-2592
To remediate this vulnerability, upgrade all affected Oslo.middleware 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 oslo.middleware>=3.19.1
pip install oslo.middleware>=3.8.1
pip install oslo.middleware>=3.23.1
pip install oslo-middleware>=3.19.1
pip install oslo-middleware>=3.8.1
pip install oslo-middleware>=3.23.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show oslo.middleware
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2017-2592, inspect your installed packages using pip:
pip show oslo.middleware
Analyze the terminal output to locate any version of Oslo.middleware in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.19.1), your application is affected.
Note: The pip show oslo.middleware command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Oslo.middleware, 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-2592 Affected Oslo.middleware Versions
6 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
oslo.middleware
|
PyPI |
≥ 3.9.0
< 3.19.1
|
3.19.1
|
|
oslo.middleware
|
PyPI |
< 3.8.1
|
3.8.1
|
|
oslo.middleware
|
PyPI |
≥ 3.20.0
< 3.23.1
|
3.23.1
|
|
oslo-middleware
|
PyPI |
≥ 3.9.0
< 3.19.1
|
3.19.1
|
|
oslo-middleware
|
PyPI |
< 3.8.1
|
3.8.1
|
|
oslo-middleware
|
PyPI |
≥ 3.20.0
< 3.23.1
|
3.23.1
|
References
Frequently Asked Questions
What is CVE-2017-2592?
Which Oslo.middleware versions are affected?
What version fixes CVE-2017-2592?
Is oslo.middleware affected?
Is oslo-middleware affected?
What is the CVSS score of CVE-2017-2592?
What CWE is associated with CVE-2017-2592?
How can I check PyPI dependencies for CVE-2017-2592?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xcp8-hh74-f6mc",
"modified" : "2024-10-07T21:21:51Z",
"published" : "2018-07-13T15:16:45Z",
"aliases" : [ "CVE-2017-2592" ],
"summary" : "oslo.middleware Information Disclosure vulnerability",
"details" : "python-oslo-middleware before versions 3.8.1, 3.19.1, 3.23.1 is vulnerable to an information disclosure. Software using the CatchError class could include sensitive values in a traceback's error message. System users could exploit this flaw to obtain sensitive information from OpenStack component error logs (for example, keystone tokens).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "oslo.middleware"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.9.0"
}, {
"fixed" : "3.19.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "oslo.middleware"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.8.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "oslo.middleware"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.20.0"
}, {
"fixed" : "3.23.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "oslo-middleware"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.9.0"
}, {
"fixed" : "3.19.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "oslo-middleware"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.8.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "oslo-middleware"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.20.0"
}, {
"fixed" : "3.23.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-2592"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2017:0300"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2017:0435"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/keystonemiddleware/+bug/1628031"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2592"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-xcp8-hh74-f6mc"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/oslo.middleware"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/oslo-middleware/PYSEC-2018-104.yaml"
}, {
"type" : "WEB",
"url" : "https://review.openstack.org/#/c/425730"
}, {
"type" : "WEB",
"url" : "https://review.openstack.org/#/c/425732"
}, {
"type" : "WEB",
"url" : "https://review.openstack.org/#/c/425734"
}, {
"type" : "WEB",
"url" : "https://usn.ubuntu.com/3666-1"
}, {
"type" : "WEB",
"url" : "http://lists.openstack.org/pipermail/openstack-announce/2017-January/002002.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2017-0300.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2017-0435.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-532" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T22:02:55Z",
"nvd_published_at" : "2018-05-08T17:29:00Z"
}
}