CVE-2022-38060: Kolla OpenStack Kolla Sudo Privilege Escalation Vulnerability
HIGHCVE-2022-38060 is a HIGH (CVSS 7.8) openstack kolla sudo privilege escalation vulnerability (CWE-426: Untrusted Search Path) affecting Kolla libraries in the PyPI ecosystem. The issue involves openstack kolla sudo privilege escalation vulnerability. Remediation is available by upgrading affected packages to version 15.0.0.0rc1.
CVE-2022-38060 at a Glance
Security Impact
CVSS: 7.8
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:H/A:H).
How to Fix CVE-2022-38060
To remediate this vulnerability, upgrade all affected Kolla 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 kolla>=15.0.0.0rc1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show kolla
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2022-38060, inspect your installed packages using pip:
pip show kolla
Analyze the terminal output to locate any version of Kolla in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 15.0.0.0rc1), your application is affected.
Note: The pip show kolla command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-426: Untrusted Search Path, where the product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control. In Kolla, 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-38060 Affected Kolla Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
kolla
|
PyPI |
< 15.0.0.0rc1
|
15.0.0.0rc1
|
References
Frequently Asked Questions
What is CVE-2022-38060?
Which Kolla versions are affected?
What version fixes CVE-2022-38060?
Is kolla affected?
What is the CVSS score of CVE-2022-38060?
What CWE is associated with CVE-2022-38060?
How can I check PyPI dependencies for CVE-2022-38060?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rvxr-pf5f-j2qj",
"modified" : "2025-05-07T17:39:19Z",
"published" : "2022-12-21T12:30:24Z",
"aliases" : [ "CVE-2022-38060" ],
"summary" : "OpenStack Kolla sudo privilege escalation vulnerability",
"details" : "A privilege escalation vulnerability exists in the sudo functionality of OpenStack Kolla git master 05194e7618. A misconfiguration in /etc/sudoers within a container can lead to increased privileges.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "kolla"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "15.0.0.0rc1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-38060"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/kolla/commit/2a4a8fce31c12114e8f472c24dd96864b5bd2bd2"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/kolla/+bug/1985784"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2124758"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/kolla"
}, {
"type" : "WEB",
"url" : "https://talosintelligence.com/vulnerability_reports/TALOS-2022-1589"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-269", "CWE-426" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-07T17:39:19Z",
"nvd_published_at" : "2022-12-21T11:15:00Z"
}
}