// For flags

CVE-2005-4158

Sudo 1.6.x - Environment Variable Handling Security Bypass

Severity Score

4.6
*CVSS v2

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

4
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

*Credits: N/A
CVSS Scores
Attack Vector
Local
Attack Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2005-11-11 First Exploit
  • 2005-12-11 CVE Reserved
  • 2005-12-11 CVE Published
  • 2023-05-05 EPSS Updated
  • 2024-08-07 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.5.6
Search vendor "Todd Miller" for product "Sudo" and version "1.5.6"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.5.7
Search vendor "Todd Miller" for product "Sudo" and version "1.5.7"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.5.8
Search vendor "Todd Miller" for product "Sudo" and version "1.5.8"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.5.9
Search vendor "Todd Miller" for product "Sudo" and version "1.5.9"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6
Search vendor "Todd Miller" for product "Sudo" and version "1.6"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.1
Search vendor "Todd Miller" for product "Sudo" and version "1.6.1"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.2
Search vendor "Todd Miller" for product "Sudo" and version "1.6.2"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.3
Search vendor "Todd Miller" for product "Sudo" and version "1.6.3"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.3_p1
Search vendor "Todd Miller" for product "Sudo" and version "1.6.3_p1"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.3_p2
Search vendor "Todd Miller" for product "Sudo" and version "1.6.3_p2"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.3_p3
Search vendor "Todd Miller" for product "Sudo" and version "1.6.3_p3"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.3_p4
Search vendor "Todd Miller" for product "Sudo" and version "1.6.3_p4"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.3_p5
Search vendor "Todd Miller" for product "Sudo" and version "1.6.3_p5"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.3_p6
Search vendor "Todd Miller" for product "Sudo" and version "1.6.3_p6"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.3_p7
Search vendor "Todd Miller" for product "Sudo" and version "1.6.3_p7"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.4
Search vendor "Todd Miller" for product "Sudo" and version "1.6.4"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.4_p1
Search vendor "Todd Miller" for product "Sudo" and version "1.6.4_p1"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.4_p2
Search vendor "Todd Miller" for product "Sudo" and version "1.6.4_p2"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.5
Search vendor "Todd Miller" for product "Sudo" and version "1.6.5"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.5_p1
Search vendor "Todd Miller" for product "Sudo" and version "1.6.5_p1"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.5_p2
Search vendor "Todd Miller" for product "Sudo" and version "1.6.5_p2"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.6
Search vendor "Todd Miller" for product "Sudo" and version "1.6.6"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.7
Search vendor "Todd Miller" for product "Sudo" and version "1.6.7"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.7_p5
Search vendor "Todd Miller" for product "Sudo" and version "1.6.7_p5"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.8
Search vendor "Todd Miller" for product "Sudo" and version "1.6.8"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.8_p1
Search vendor "Todd Miller" for product "Sudo" and version "1.6.8_p1"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.8_p5
Search vendor "Todd Miller" for product "Sudo" and version "1.6.8_p5"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.8_p7
Search vendor "Todd Miller" for product "Sudo" and version "1.6.8_p7"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.8_p8
Search vendor "Todd Miller" for product "Sudo" and version "1.6.8_p8"
-
Affected
Todd Miller
Search vendor "Todd Miller"
Sudo
Search vendor "Todd Miller" for product "Sudo"
1.6.8_p9
Search vendor "Todd Miller" for product "Sudo" and version "1.6.8_p9"
-
Affected