CVE-2005-4158

Medium

Description

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.

SeverityMedium
CVSS4.6
Exploit probability—
ProductTodd Miller Sudo
PublishedDec 11, 2005
First seenDec 11, 2005

How to fix

Vendor advisories

Affected products

ProductAffected versionsFixed in
todd_miller sudo1.5.6, 1.5.7, 1.5.8, 1.5.9, 1.6, 1.6.1, 1.6.2, 1.6.3, 1.6.3_p1, 1.6.3_p2, 1.6.3_p3, 1.6.3_p4, 1.6.3_p5, 1.6.3_p6, 1.6.3_p7, 1.6.4, 1.6.4_p1, 1.6.4_p2, 1.6.5, 1.6.5_p1, 1.6.5_p2, 1.6.6, 1.6.7, 1.6.7_p5, 1.6.8, 1.6.8_p1, 1.6.8_p5, 1.6.8_p7, 1.6.8_p8, 1.6.8_p9—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2005-4158 · Todd Miller Sudo · Dark Radar