CVE-2005-2959: Medium severity todd miller sudo vulnerability

Published 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.

Affected Software

32 affected components
Todd Miller Sudo=1.6.3p1
Todd Miller Sudo=1.6.3_p6
Todd Miller Sudo=1.6.3p3
Todd Miller Sudo=1.6.6
Todd Miller Sudo=1.6.3p2
Todd Miller Sudo=1.6.3
Todd Miller Sudo=1.6.4_p2
Todd Miller Sudo=1.6.1
Todd Miller Sudo=1.6.3_p5
Todd Miller Sudo=1.6.2
Todd Miller Sudo=1.6.8
Todd Miller Sudo=1.6.4_p1
Todd Miller Sudo=1.6.3_p2
Todd Miller Sudo=1.6.3_p4
Todd Miller Sudo=1.6.5_p2
Todd Miller Sudo=1.6.4p1
Todd Miller Sudo=1.6.5p2
Todd Miller Sudo=1.6.5
Todd Miller Sudo=1.6.3_p3
Todd Miller Sudo=1.6.5_p1
Todd Miller Sudo=1.6.3p4
Todd Miller Sudo=1.6.3p6
Todd Miller Sudo=1.6.3p7
Todd Miller Sudo=1.6.3_p7
Todd Miller Sudo=1.6
Todd Miller Sudo=1.6.4
Todd Miller Sudo=1.6.7
Todd Miller Sudo=1.6.3p5
Todd Miller Sudo=1.6.3_p1
Todd Miller Sudo=1.6.4p2
Todd Miller Sudo=1.6.5p1
Todd Miller Sudo=1.6.7_p5

Event History

Oct 25, 2005
CVE Published
via MITRE·08:00 AM
Data Sourced
via MITRE·08:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2005-2959?

CVE-2005-2959 is considered a medium severity vulnerability due to its potential to allow local users to escalate privileges.

2

How do I fix CVE-2005-2959?

To fix CVE-2005-2959, you should upgrade to a version of sudo later than 1.6.8 that addresses this vulnerability.

3

What versions of sudo are affected by CVE-2005-2959?

CVE-2005-2959 affects sudo versions 1.6.8 and earlier.

4

What causes the vulnerability in CVE-2005-2959?

The vulnerability is caused by an incomplete blacklist in sudo that allows certain environment variables to remain set during script execution.

5

Is CVE-2005-2959 still a threat today?

While CVE-2005-2959 primarily affects older versions of sudo, it remains a potential threat for systems that have not been updated.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203