
Cloud Vulnerability DB
A community-led vulnerabilities database
A privilege escalation vulnerability (CVE-2022-38060) was discovered in the sudo functionality of OpenStack Kolla git master 05194e7618. The vulnerability was disclosed on August 11, 2022, and a patch was released on December 9, 2022. The issue stems from a misconfiguration in /etc/sudoers within a container that can lead to increased privileges (Talos).
The vulnerability exists due to a misconfiguration in the sudoers policy that allows users in the kolla group to modify environment variables without a securepath option enforcing trusted PATH environment variables. The CVSSv3 score is 8.8 (CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H), indicating high severity. The vulnerability is classified under CWE-269 (Improper Privilege Management). Two Kolla-provided scripts are exploitable: kollacopycacerts and kollasetconfigs, which can be manipulated through PATH environment variables to execute arbitrary commands as root ([Talos](https://talosintelligence.com/vulnerabilityreports/TALOS-2022-1589)).
The vulnerability allows unprivileged users to escalate their privileges to root within the container. In cases where containers (e.g., novaapi) are privileged, the root access inside the container may lead to root privilege on the container host itself, potentially compromising the entire system ([Talos](https://talosintelligence.com/vulnerabilityreports/TALOS-2022-1589)).
The recommended mitigation includes using the securepath option in /etc/sudoers within the container to prevent PATH environment variable modification. Additionally, the setenv option should be removed from /etc/sudoers, and envkeep should be used for safe environment variables. To prevent container compromises from resulting in host compromise, privileged containers should be avoided in favor of adding individual capabilities as needed (Talos).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."