Vulnerabilities in pkg:pypi/oslo.middleware

PACKAGE
Advisory Identifier: GHSA-xcp8-hh74-f6mc
Advisory Summary

CVE-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/oslo.middleware

1 Known Advisory Record(s)

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

CVE Identifier CVE-2017-2592
GHSA Identifier GHSA-xcp8-hh74-f6mc
Severity HIGH
CVSS v3.1 Base Score 5.5
CWE Classification CWE-532: Insertion of Sensitive Information into Log File
Affected Product Oslo.middleware
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (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.

oslo.middleware fixed: 3.19.1
pip install oslo.middleware>=3.19.1
oslo.middleware fixed: 3.8.1
pip install oslo.middleware>=3.8.1
oslo.middleware fixed: 3.23.1
pip install oslo.middleware>=3.23.1
oslo-middleware fixed: 3.19.1
pip install oslo-middleware>=3.19.1
oslo-middleware fixed: 3.8.1
pip install oslo-middleware>=3.8.1
oslo-middleware fixed: 3.23.1
pip install oslo-middleware>=3.23.1
Verify Direct and Transitive Dependencies

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

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).

CVE-2017-2592 Affected Oslo.middleware Versions

6 component(s)
Fixed Versions:
3.19.13.8.13.23.1
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?
CVE-2017-2592 is a security vulnerability in Oslo.middleware involving oslo.middleware Information Disclosure vulnerability under CWE-532: Insertion of Sensitive Information into Log File.
Which Oslo.middleware versions are affected?
Affected versions include releases prior to 3.19.1, 3.8.1, 3.23.1 across affected packages: oslo.middleware, oslo-middleware.
What version fixes CVE-2017-2592?
Upgrading to 3.19.1, 3.8.1, 3.23.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is oslo.middleware affected?
Yes, oslo.middleware is affected in releases prior to 3.19.1, 3.8.1, 3.23.1. Upgrade your dependency to 3.19.1, 3.8.1, 3.23.1 or later.
Is oslo-middleware affected?
Yes, oslo-middleware is affected in releases prior to 3.19.1, 3.8.1, 3.23.1. Upgrade your dependency to 3.19.1, 3.8.1, 3.23.1 or later.
What is the CVSS score of CVE-2017-2592?
CVE-2017-2592 has a CVSS v3.1 base score of 5.5 (HIGH) with vector string CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2017-2592?
CVE-2017-2592 is classified under CWE-532: Insertion of Sensitive Information into Log File (The product writes sensitive information to a log file.).
How can I check PyPI dependencies for CVE-2017-2592?
Run the dependency tree command: 'pip show oslo.middleware'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}