Vulnerabilities in pkg:pypi/tripleo-ansible

PACKAGE
Advisory Identifier: GHSA-7x96-2w32-w3gw
Advisory Summary

CVE-2022-3101 is a MODERATE (CVSS 5.5) tripleo-ansible may disclose important configuration vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) affecting Tripleo ansible libraries in the PyPI ecosystem. The issue involves tripleo-ansible may disclose important configuration details from an openstack deployment. Remediation is available in the latest vendor maintenance releases.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/tripleo-ansible

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/tripleo-ansible. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-7x96-2w32-w3gw CVE-2022-3101 MODERATE tripleo-ansible may disclose important configuration details from an OpenStack deployment
GHSA-w4x6-6w3r-9h2m CVE-2022-3146 MODERATE tripleo-ansible may disclose important configuration details from an OpenStack deployment

CVE-2022-3101 at a Glance

CVE Identifier CVE-2022-3101
GHSA Identifier GHSA-7x96-2w32-w3gw
Severity MODERATE
CVSS v3.1 Base Score 5.5
CWE Classification CWE-732: Incorrect Permission Assignment for Critical Resource
Affected Product Tripleo ansible
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.1/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-2022-3101

To remediate this vulnerability, upgrade all affected Tripleo ansible dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

tripleo-ansible fixed: Latest secure release
pip install tripleo-ansible>=Latest secure release
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 tripleo-ansible

How to Check if You Are Affected

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

pip show tripleo-ansible

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

Note: The pip show tripleo-ansible command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-732: Incorrect Permission Assignment for Critical Resource, where the product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. In Tripleo ansible, 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

A flaw was found in tripleo-ansible. Due to an insecure default configuration, the permissions of a sensitive file are not sufficiently restricted. This flaw allows a local attacker to use brute force to explore the relevant directory and discover the file, leading to information disclosure of important configuration details from the OpenStack deployment.

CVE-2022-3101 Affected Tripleo ansible Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
tripleo-ansible
PyPI
≤ 6.0.0

References

Frequently Asked Questions

What is CVE-2022-3101?
CVE-2022-3101 is a security vulnerability in Tripleo ansible involving tripleo-ansible may disclose important configuration details from an OpenStack deployment under CWE-732: Incorrect Permission Assignment for Critical Resource.
Which Tripleo ansible versions are affected?
Affected versions include releases prior to current release patches across affected packages: tripleo-ansible.
What version fixes CVE-2022-3101?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is tripleo-ansible affected?
Yes, tripleo-ansible is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2022-3101?
CVE-2022-3101 has a CVSS v3.1 base score of 5.5 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2022-3101?
CVE-2022-3101 is classified under CWE-732: Incorrect Permission Assignment for Critical Resource (The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.).
How can I check PyPI dependencies for CVE-2022-3101?
Run the dependency tree command: 'pip show tripleo-ansible'. 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-7x96-2w32-w3gw",
  "modified" : "2023-03-30T22:17:00Z",
  "published" : "2023-03-23T21:30:19Z",
  "aliases" : [ "CVE-2022-3101" ],
  "summary" : "tripleo-ansible may disclose important configuration details from an OpenStack deployment",
  "details" : "A flaw was found in tripleo-ansible. Due to an insecure default configuration, the permissions of a sensitive file are not sufficiently restricted. This flaw allows a local attacker to use brute force to explore the relevant directory and discover the file, leading to information disclosure of important configuration details from the OpenStack deployment.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "tripleo-ansible"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "6.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-3101"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2022-3101"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/tripleo-ansible"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22", "CWE-276", "CWE-732" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-03-23T23:12:17Z",
    "nvd_published_at" : "2023-03-23T21:15:00Z"
  }
}