First published: Mon Jan 09 2006(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Sudo | =1.5.6 | |
Sudo | =1.5.7 | |
Sudo | =1.5.8 | |
Sudo | =1.5.9 | |
Sudo | =1.6 | |
Sudo | =1.6.1 | |
Sudo | =1.6.2 | |
Sudo | =1.6.3 | |
Sudo | =1.6.3_p1 | |
Sudo | =1.6.3_p2 | |
Sudo | =1.6.3_p3 | |
Sudo | =1.6.3_p4 | |
Sudo | =1.6.3_p5 | |
Sudo | =1.6.3_p6 | |
Sudo | =1.6.3_p7 | |
Sudo | =1.6.4 | |
Sudo | =1.6.4_p1 | |
Sudo | =1.6.4_p2 | |
Sudo | =1.6.5 | |
Sudo | =1.6.5_p1 | |
Sudo | =1.6.5_p2 | |
Sudo | =1.6.6 | |
Sudo | =1.6.7 | |
Sudo | =1.6.7_p5 | |
Sudo | =1.6.8 | |
Sudo | =1.6.8_p1 | |
Sudo | =1.6.8_p2 | |
Sudo | =1.6.8_p5 | |
Sudo | =1.6.8_p7 | |
Sudo | =1.6.8_p8 | |
Sudo | =1.6.8_p9 | |
Sudo | =1.6.8_p12 | |
Ubuntu Linux | =4.1 | |
Ubuntu Linux | =4.1 | |
Ubuntu Linux | =5.04 | |
Ubuntu Linux | =5.04 | |
Ubuntu Linux | =5.04 | |
Ubuntu Linux | =5.10 | |
Ubuntu Linux | =5.10 | |
Ubuntu Linux | =5.10 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2006-0151 is considered a medium severity vulnerability.
To mitigate CVE-2006-0151, ensure that the PYTHONINSPECT environment variable is cleared before executing Python scripts with sudo.
CVE-2006-0151 affects sudo versions 1.6.8 and earlier, including 1.5.6 to 1.6.8.
CVE-2006-0151 allows local users to escalate privileges through improper handling of the PYTHONINSPECT environment variable.
CVE-2006-0151 was initially reported in 2006, highlighting a security flaw in sudo versions prior to a specific patch.