CVE-2005-4158 todd miller sudo
todd miller sudo: no CVSS score yet. EPSS 1.1% estimated probability of exploitation activity in the next 30 days.
On this page
Sudo before 1.6.8 p12, when the Perl taint flag is off, does not clear the (1) PERLLIB, (2) PERL5LIB, and (3) PERL5OPT environment variables, which allows limited local users to cause a Perl script to include and execute arbitrary library files that have the same name as library files that are included by the script.
- EPSS
- 1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 66th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Debian, openSUSE: fixed package versions per release
- Patch: http://secunia.com/advisories/17534/
- Patch: http://securitytracker.com/alerts/2005/Nov/1015192.html
- Patch: http://www.securityfocus.com/bid/15394
- Vendor advisory: http://secunia.com/advisories/17534/
- Vendor advisory: http://www.sudo.ws/sudo/alerts/perl_env.html
Ask an AI about this CVE
Show the prompt
Explain CVE-2005-4158 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2005-4158?via=ask-ai-copy and https://cve.bz/cve/CVE-2005-4158?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2005-4158 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| todd_miller:sudo | 1.5.6 |
| todd_miller:sudo | 1.5.7 |
| todd_miller:sudo | 1.5.8 |
| todd_miller:sudo | 1.5.9 |
| todd_miller:sudo | 1.6 |
| todd_miller:sudo | 1.6.1 |
| todd_miller:sudo | 1.6.2 |
| todd_miller:sudo | 1.6.3 |
| todd_miller:sudo | 1.6.3_p1 |
| todd_miller:sudo | 1.6.3_p2 |
| todd_miller:sudo | 1.6.3_p3 |
| todd_miller:sudo | 1.6.3_p4 |
| todd_miller:sudo | 1.6.3_p5 |
| todd_miller:sudo | 1.6.3_p6 |
| todd_miller:sudo | 1.6.3_p7 |
| todd_miller:sudo | 1.6.4 |
| todd_miller:sudo | 1.6.4_p1 |
| todd_miller:sudo | 1.6.4_p2 |
| todd_miller:sudo | 1.6.5 |
| todd_miller:sudo | 1.6.5_p1 |
| todd_miller:sudo | 1.6.5_p2 |
| todd_miller:sudo | 1.6.6 |
| todd_miller:sudo | 1.6.7 |
| todd_miller:sudo | 1.6.7_p5 |
| todd_miller:sudo | 1.6.8 |
| todd_miller:sudo | 1.6.8_p1 |
| todd_miller:sudo | 1.6.8_p5 |
| todd_miller:sudo | 1.6.8_p7 |
| todd_miller:sudo | 1.6.8_p8 |
| todd_miller:sudo | 1.6.8_p9 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 3.0 | sudo | 1.6.6-1.6 | DSA-946-2 |
| Debian | 3.1 | sudo | 1.6.8p7-1.4 | DSA-946-2 |
| Debian | 12, 13, 14 | sudo | 1.6.8p12-1 | DEBIAN-CVE-2005-4158 |
| openSUSE | Tumbleweed | sudo | 1.9.7p2-1.4 | openSUSE-SU-2024:11413-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · openSUSE.
Public exploits
- Exploit-DB Sudo 1.6.x - Environment Variable Handling Security Bypass (1)
- Exploit-DB Sudo 1.6.x - Environment Variable Handling Security Bypass (2)
- Exploit-DB Sudo Perl 1.6.x - Environment Variable Handling Security Bypass
References
- http://secunia.com/advisories/17534/
- http://securitytracker.com/alerts/2005/Nov/1015192.html
- http://www.securityfocus.com/bid/15394
- http://www.sudo.ws/sudo/alerts/perl_env.html
- http://secunia.com/advisories/18102
- http://secunia.com/advisories/18156
- http://secunia.com/advisories/18308
- http://secunia.com/advisories/18463
- http://secunia.com/advisories/18549
- http://secunia.com/advisories/18558
- http://secunia.com/advisories/21692
- http://www.debian.org/security/2006/dsa-946
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:234
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:159
- http://www.novell.com/linux/security/advisories/2006_02_sr.html
- http://www.trustix.org/errata/2006/0002/
- http://www.vupen.com/english/advisories/2005/2386
- https://exchange.xforce.ibmcloud.com/vulnerabilities/23102
- https://www.ubuntu.com/usn/usn-235-1/