Vulnerabilities in pkg:pypi/oslo.utils

PACKAGE
Advisory Identifier: GHSA-v933-vx5p-j7w2
Advisory Summary

CVE-2014-7231 is a LOW openstack oslo utility sensitive information vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Oslo.utils libraries in the PyPI ecosystem. The issue involves openstack oslo utility sensitive information exposure via log files. Remediation is available by upgrading affected packages to version 0.2.0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/oslo.utils

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/oslo.utils. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-v933-vx5p-j7w2 CVE-2014-7231 LOW OpenStack Oslo utility sensitive information exposure via log files

CVE-2014-7231 at a Glance

CVE Identifier CVE-2014-7231
GHSA Identifier GHSA-v933-vx5p-j7w2
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Oslo.utils
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2014-7231

To remediate this vulnerability, upgrade all affected Oslo.utils 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.utils fixed: 0.2.0
pip install oslo.utils>=0.2.0
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.utils

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2014-7231, inspect your installed packages using pip:

pip show oslo.utils

Analyze the terminal output to locate any version of Oslo.utils in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.2.0), your application is affected.

Note: The pip show oslo.utils command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Oslo.utils, 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

The strutils.mask_password function in the OpenStack Oslo utility library, Cinder, Nova, and Trove before 2013.2.4 and 2014.1 before 2014.1.3 does not properly mask passwords when logging commands, which allows local users to obtain passwords by reading the log.

CVE-2014-7231 Affected Oslo.utils Versions

1 component(s)
Fixed Versions:
0.2.0
Product / Package Ecosystem Affected Versions Fixed Version
oslo.utils
PyPI
< 0.2.0
0.2.0

References

Frequently Asked Questions

What is CVE-2014-7231?
CVE-2014-7231 is a security vulnerability in Oslo.utils involving OpenStack Oslo utility sensitive information exposure via log files under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Oslo.utils versions are affected?
Affected versions include releases prior to 0.2.0 across affected packages: oslo.utils.
What version fixes CVE-2014-7231?
Upgrading to 0.2.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is oslo.utils affected?
Yes, oslo.utils is affected in releases prior to 0.2.0. Upgrade your dependency to 0.2.0 or later.
What CWE is associated with CVE-2014-7231?
CVE-2014-7231 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check PyPI dependencies for CVE-2014-7231?
Run the dependency tree command: 'pip show oslo.utils'. 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-v933-vx5p-j7w2",
  "modified" : "2024-05-14T21:24:39Z",
  "published" : "2022-05-14T01:58:44Z",
  "aliases" : [ "CVE-2014-7231" ],
  "summary" : "OpenStack Oslo utility sensitive information exposure via log files",
  "details" : "The strutils.mask_password function in the OpenStack Oslo utility library, Cinder, Nova, and Trove before 2013.2.4 and 2014.1 before 2014.1.3 does not properly mask passwords when logging commands, which allows local users to obtain passwords by reading the log.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "oslo.utils"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.2.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-7231"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/oslo.utils/+bug/1345233"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/96726"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/oslo.utils"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-1939.html"
  }, {
    "type" : "WEB",
    "url" : "http://seclists.org/oss-sec/2014/q3/853"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/70184"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-14T21:24:39Z",
    "nvd_published_at" : "2014-10-08T19:55:00Z"
  }
}