CVE-2005-4158

NameCVE-2005-4158
DescriptionSudo 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-946-2
NVD severitymedium
Debian Bugs342948

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
sudo (PTS)jessie1.8.10p3-1+deb8u5fixed
jessie (security)1.8.10p3-1+deb8u6fixed
stretch1.8.19p1-2.1fixed
stretch (security)1.8.19p1-2.1+deb9u1fixed
buster1.8.27-1fixed
buster (security)1.8.27-1+deb10u1fixed
bullseye, sid1.8.27-1.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sudosource(unstable)1.6.8p12-1medium342948
sudosourcesarge1.6.8p7-1.4DSA-946-2
sudosourcewoody1.6.6-1.6DSA-946-2

Search for package or bug name: Reporting problems