{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2006-0151 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2006-0151 is a high-severity vulnerability in Ubuntu Ubuntu Linux, published on 9 Jan 2006. 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-2006-0151 and fix it if it is affected.\n\nWhat it is: CVE-2006-0151 is a high-severity vulnerability in Ubuntu Ubuntu Linux, published on 9 Jan 2006. 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-2006-0151 in the wild and no public exploit code.\n\nAffected product: Ubuntu Ubuntu Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2006-0151/ (Markdown: https://insights.sbomify.com/CVE-2006-0151/index.md)","id":"CVE-2006-0151","markdown":"https://insights.sbomify.com/CVE-2006-0151/index.md","name":"CVE-2006-0151","record":{"aliases":["DEBIAN-CVE-2006-0151","GHSA-7vx7-4r5w-mwxw"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"sudo utility","requires_auth":"low_privilege","summary":"Local attackers can escalate privileges by exploiting the uncleared PYTHONINSPECT environment variable in sudo.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"sudo","vendor":"todd_miller"},{"product":"ubuntu_linux","vendor":"ubuntu"}],"cvss":{"score":7.2,"severity":"high","source":"nvd","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[],"description":"sudo 1.6.8 and other versions does not clear the PYTHONINSPECT environment variable, which allows limited local users to gain privileges via a Python script, a variant of CVE-2005-4158.","ecosystems":[],"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":"Privilege escalation in n/a","id":"CVE-2006-0151","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"ubuntu:ubuntu_linux","products":["ubuntu:ubuntu_linux"],"type":"privilege_escalation","year":"2006"},"n_packages":0,"n_references":14,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2006-0152"},"packages":[],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2006-0150"},"products":["n/a"],"published":"2006-01-09","related":[{"cvss_score":8.4,"headline":"Privilege escalation in n/a","id":"CVE-2005-1831","kev_date_added":null,"published":"2005-06-02"},{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-2012-2337","kev_date_added":null,"published":"2012-05-18"},{"cvss_score":7.2,"headline":"Memory corruption in n/a","id":"CVE-2012-0809","kev_date_added":null,"published":"2012-02-01"},{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-2002-0043","kev_date_added":null,"published":"2002-06-25"},{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-1999-0958","kev_date_added":null,"published":"2000-04-18"},{"cvss_score":7,"headline":"Security feature bypass in n/a","id":"CVE-2016-7032","kev_date_added":null,"published":"2017-04-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Local attackers can escalate privileges by exploiting the uncleared PYTHONINSPECT environment variable in sudo.","url":"https://insights.sbomify.com/CVE-2006-0151/"}