{"answers":{"affected":"3 open source packages ship an affected version, including kolla. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-38060 in the wild and no public exploit code.","fix":"Upgrade kolla to 15.0.0.0rc1 or later.","what":"CVE-2022-38060 is a high-severity vulnerability in OpenStack, published on 21 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-38060 and fix it if it is affected.\n\nWhat it is: CVE-2022-38060 is a high-severity vulnerability in OpenStack, published on 21 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-38060 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- kolla (PyPI): affected all versions; fixed in 15.0.0.0rc1\n- kolla (PyPI): affected all versions; fixed in 15.0.0.0rc1\n- kolla (PyPI): affected all versions; fixed in 15.0.0.0rc1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-38060/ (Markdown: https://insights.sbomify.com/CVE-2022-38060/index.md)","id":"CVE-2022-38060","markdown":"https://insights.sbomify.com/CVE-2022-38060/index.md","name":"CVE-2022-38060","record":{"aliases":["GHSA-rvxr-pf5f-j2qj","PYSEC-2026-838","RHSA-2024:0191","RHSA-2024:0216"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"OpenStack Kolla","requires_auth":"low_privilege","summary":"A misconfiguration in OpenStack Kolla containers allows attackers to escalate privileges via sudo.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"talos","cpe":[{"product":"kolla","vendor":"openstack"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-426","name":"Untrusted Search Path"},{"id":"CWE-269","name":"Improper Privilege Management"}],"description":"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.","ecosystems":["PyPI","Red Hat:openstack:17.1::el8","Red Hat:openstack:17.1::el9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"OpenStack Kolla sudo privilege escalation vulnerability","id":"CVE-2022-38060","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"privilege_escalation","year":"2022"},"n_packages":12,"n_references":1,"next":{"headline":"WordPress Export Post Info plugin \u003c= 1.2.0 - Authenticated CSV Injection vulnerability","id":"CVE-2022-38061"},"packages":[{"ecosystem":"PyPI","fixed":["15.0.0.0rc1"],"introduced":["0"],"last_affected":[],"package":"kolla","purl":null,"source":"GHSA-rvxr-pf5f-j2qj"},{"ecosystem":"PyPI","fixed":["15.0.0.0rc1"],"introduced":["0"],"last_affected":[],"package":"kolla","purl":"pkg:pypi/kolla","source":"GHSA-rvxr-pf5f-j2qj"},{"ecosystem":"PyPI","fixed":["15.0.0.0rc1"],"introduced":["0"],"last_affected":[],"package":"kolla","purl":"pkg:pypi/kolla","source":"PYSEC-2026-838"},{"ecosystem":"Red Hat:openstack:17.1::el8","fixed":["0:15.4.1-17.1.20230927003755.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-tripleo-common","purl":"pkg:rpm/redhat/openstack-tripleo-common","source":"RHSA-2024:0191"},{"ecosystem":"Red Hat:openstack:17.1::el8","fixed":["0:15.4.1-17.1.20230927003755.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-tripleo-common-container-base","purl":"pkg:rpm/redhat/openstack-tripleo-common-container-base","source":"RHSA-2024:0191"},{"ecosystem":"Red Hat:openstack:17.1::el8","fixed":["0:15.4.1-17.1.20230927003755.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-tripleo-common-containers","purl":"pkg:rpm/redhat/openstack-tripleo-common-containers","source":"RHSA-2024:0191"},{"ecosystem":"Red Hat:openstack:17.1::el8","fixed":["0:15.4.1-17.1.20230927003755.el8ost"],"introduced":["0"],"last_affected":[],"package":"python3-tripleo-common","purl":"pkg:rpm/redhat/python3-tripleo-common","source":"RHSA-2024:0191"},{"ecosystem":"Red Hat:openstack:17.1::el9","fixed":["0:15.4.1-17.1.20230927010819.el9ost"],"introduced":["0"],"last_affected":[],"package":"openstack-tripleo-common","purl":"pkg:rpm/redhat/openstack-tripleo-common","source":"RHSA-2024:0216"},{"ecosystem":"Red Hat:openstack:17.1::el9","fixed":["0:15.4.1-17.1.20230927010819.el9ost"],"introduced":["0"],"last_affected":[],"package":"openstack-tripleo-common-container-base","purl":"pkg:rpm/redhat/openstack-tripleo-common-container-base","source":"RHSA-2024:0216"},{"ecosystem":"Red Hat:openstack:17.1::el9","fixed":["0:15.4.1-17.1.20230927010819.el9ost"],"introduced":["0"],"last_affected":[],"package":"openstack-tripleo-common-containers","purl":"pkg:rpm/redhat/openstack-tripleo-common-containers","source":"RHSA-2024:0216"},{"ecosystem":"Red Hat:openstack:17.1::el9","fixed":["0:15.4.1-17.1.20230927010819.el9ost"],"introduced":["0"],"last_affected":[],"package":"openstack-tripleo-common-devtools","purl":"pkg:rpm/redhat/openstack-tripleo-common-devtools","source":"RHSA-2024:0216"},{"ecosystem":"Red Hat:openstack:17.1::el9","fixed":["0:15.4.1-17.1.20230927010819.el9ost"],"introduced":["0"],"last_affected":[],"package":"python3-tripleo-common","purl":"pkg:rpm/redhat/python3-tripleo-common","source":"RHSA-2024:0216"}],"prev":{"headline":"WordPress Access Code Feeder plugin \u003c= 1.0.3 - Cross-Site Request Forgery (CSRF) vulnerability","id":"CVE-2022-38059"},"products":["OpenStack"],"published":"2022-12-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-07","vendors":["OpenStack"]},"summary":"A misconfiguration in OpenStack Kolla containers allows attackers to escalate privileges via sudo.","url":"https://insights.sbomify.com/CVE-2022-38060/"}