Vulnerabilities in pkg:pypi/kolla

PACKAGE
Advisory Identifier: GHSA-rvxr-pf5f-j2qj
Advisory Summary

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

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/kolla

1 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-rvxr-pf5f-j2qj CVE-2022-38060 HIGH OpenStack Kolla sudo privilege escalation vulnerability

CVE-2022-38060 at a Glance

CVE Identifier CVE-2022-38060
GHSA Identifier GHSA-rvxr-pf5f-j2qj
Severity HIGH
CVSS v3.1 Base Score 7.8
CWE Classification CWE-426: Untrusted Search Path
Affected Product Kolla
Package Ecosystem PyPI
Published Date
Last Updated

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

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 High (I:H)
Availability High (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.

kolla fixed: 15.0.0.0rc1
pip install kolla>=15.0.0.0rc1
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 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

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.

CVE-2022-38060 Affected Kolla Versions

1 component(s)
Fixed Versions:
15.0.0.0rc1
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?
CVE-2022-38060 is a security vulnerability in Kolla involving OpenStack Kolla sudo privilege escalation vulnerability under CWE-426: Untrusted Search Path.
Which Kolla versions are affected?
Affected versions include releases prior to 15.0.0.0rc1 across affected packages: kolla.
What version fixes CVE-2022-38060?
Upgrading to 15.0.0.0rc1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is kolla affected?
Yes, kolla is affected in releases prior to 15.0.0.0rc1. Upgrade your dependency to 15.0.0.0rc1 or later.
What is the CVSS score of CVE-2022-38060?
CVE-2022-38060 has a CVSS v3.1 base score of 7.8 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2022-38060?
CVE-2022-38060 is classified under CWE-426: Untrusted Search Path (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.).
How can I check PyPI dependencies for CVE-2022-38060?
Run the dependency tree command: 'pip show kolla'. 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-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"
  }
}