First published: Tue Oct 25 2005(Updated: )
Incomplete blacklist vulnerability in sudo 1.6.8 and earlier allows local users to gain privileges via the (1) SHELLOPTS and (2) PS4 environment variables before executing a bash script on behalf of another user, which are not cleared even though other variables are.
Credit: security@debian.org
Affected Software | Affected Version | How to fix |
---|---|---|
Sudo | =1.6.3p1 | |
Sudo | =1.6.3_p6 | |
Sudo | =1.6.3p3 | |
Sudo | =1.6.6 | |
Sudo | =1.6.3p2 | |
Sudo | =1.6.3 | |
Sudo | =1.6.4_p2 | |
Sudo | =1.6.1 | |
Sudo | =1.6.3_p5 | |
Sudo | =1.6.2 | |
Sudo | =1.6.8 | |
Sudo | =1.6.4_p1 | |
Sudo | =1.6.3_p2 | |
Sudo | =1.6.3_p4 | |
Sudo | =1.6.5_p2 | |
Sudo | =1.6.4p1 | |
Sudo | =1.6.5p2 | |
Sudo | =1.6.5 | |
Sudo | =1.6.3_p3 | |
Sudo | =1.6.5_p1 | |
Sudo | =1.6.3p4 | |
Sudo | =1.6.3p6 | |
Sudo | =1.6.3p7 | |
Sudo | =1.6.3_p7 | |
Sudo | =1.6 | |
Sudo | =1.6.4 | |
Sudo | =1.6.7 | |
Sudo | =1.6.3p5 | |
Sudo | =1.6.3_p1 | |
Sudo | =1.6.4p2 | |
Sudo | =1.6.5p1 | |
Sudo | =1.6.7_p5 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2005-2959 is considered a medium severity vulnerability due to its potential to allow local users to escalate privileges.
To fix CVE-2005-2959, you should upgrade to a version of sudo later than 1.6.8 that addresses this vulnerability.
CVE-2005-2959 affects sudo versions 1.6.8 and earlier.
The vulnerability is caused by an incomplete blacklist in sudo that allows certain environment variables to remain set during script execution.
While CVE-2005-2959 primarily affects older versions of sudo, it remains a potential threat for systems that have not been updated.