CVE-2022-3146: Tripleo ansible Tripleo-ansible May Disclose Important Configuration Vulnerability
MODERATECVE-2022-3146 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.
CVE-2022-3146 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.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2022-3146
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.
pip install tripleo-ansible>=Latest secure release
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-3146, 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
CVE-2022-3146 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-3146?
Which Tripleo ansible versions are affected?
What version fixes CVE-2022-3146?
Is tripleo-ansible affected?
What is the CVSS score of CVE-2022-3146?
What CWE is associated with CVE-2022-3146?
How can I check PyPI dependencies for CVE-2022-3146?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w4x6-6w3r-9h2m",
"modified" : "2023-03-30T22:16:44Z",
"published" : "2023-03-23T21:30:19Z",
"aliases" : [ "CVE-2022-3146" ],
"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. This issue leads 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-3146"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2022-3146"
}, {
"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:11:40Z",
"nvd_published_at" : "2023-03-23T21:15:00Z"
}
}