cve.bz

CVE-2022-38060 openstack kolla: Untrusted Search Path

8.8 highEPSS 0.2%Fix available

High (8.8) in openstack kolla. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in kolla 15.0.0.0rc1.

On this page
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

CVSS 3.1

8.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 12th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-04-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-426 Untrusted Search Path
CWE-269 Improper Privilege Management
OWASP Top 10
A06:2025 Insecure Design, A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-38060 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-38060?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-38060?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-38060 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
OpenStackgit master 05194e7618

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rvxr-pf5f-j2qjPyPIkolla<15.0.0.0rc115.0.0.0rc1
PYSEC-2026-838PyPIkolla<15.0.0.0rc115.0.0.0rc1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatopenstack:17.1::el8python3-tripleo-common, openstack-tripleo-common, openstack-tripleo-common-containers and 1 more0:15.4.1-17.1.20230927003755.el8ostRHSA-2024:0191
Red Hatopenstack:17.1::el9python3-tripleo-common, openstack-tripleo-common, openstack-tripleo-common-devtools and 2 more0:15.4.1-17.1.20230927010819.el9ostRHSA-2024:0216

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

To exploit this vulnerability, an attacker would need to have specialized access that allows them to modify how the container is run. The attacker would need to either modify the container's definition (such as by configuring environment variables or selecting the container image) or modify files in the container's file system. Both of these actions are typically restricted by user and group permissions. Hence, the impact for OpenStack is reduced to moderate.

Red Hat's mitigation

/etc/sudoers within the container should use the `secure_path` option to prevent the PATH environment variable from being modified. However, this will not prevent other possibly dangerous environment variables from being changed. Ideally, the `setenv` option would be removed from /etc/sudoers altogether, and `env_keep` could be used for any safe environment variables that do not introduce security holes.

To avoid container compromises resulting in host compromise, avoid using privileged containers; prefer adding individual capabilities as needed.

ProductPackageStateAdvisory
Red Hat OpenStack Platform 17.1 for RHEL 8openstack-tripleo-common-0:15.4.1-17.1.20230927003755.el8ostFixed 2024-01-16RHSA-2024:0191
Red Hat OpenStack Platform 17.1 for RHEL 9openstack-tripleo-common-0:15.4.1-17.1.20230927010819.el9ostFixed 2024-01-16RHSA-2024:0216
Red Hat OpenStack Platform 16.1openstack-tripleo-commonWill not fix
Red Hat OpenStack Platform 16.2openstack-tripleo-commonWill not fix
Red Hat OpenStack Platform 17.0openstack-tripleo-commonOut of support scope
Red Hat OpenStack Platform 18.0python-tcibAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-38060.

Attack patterns (CAPEC)

  • CAPEC-38 Leveraging/Manipulating Configuration File Search Paths Likelihood: High · Severity: Very High
  • CAPEC-58 Restful Privilege Elevation Likelihood: High · Severity: High
  • CAPEC-122 Privilege Abuse Likelihood: High · Severity: Medium
  • CAPEC-233 Privilege Escalation

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON