CVE-2005-4158

CVE-2004-1051 bash scripts run via Sudo can be subverted (CVE-2005-4158, CVE-2006-0151)

Published Dec 11, 2005 CVSS 2.0 · 4.6 Medium EPSS 1.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-946-1 New sudo packages fix privilege escalation
Debian DSA Debian DSA DSA-946-2 New sudo packages fix privilege escalation
EUVD EUVD EUVD-2005-4153 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.
Ubuntu USN Ubuntu USN USN-235-1 sudo vulnerability
Ubuntu USN Ubuntu USN USN-235-2 sudo vulnerability
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 7, 2024, 11:38 PM
Reserved
Dec 11, 2005, 12:00 AM
Status
Modified
Published
Dec 11, 2005, 2:03 AM
Modified
Jun 16, 2026, 10:18 PM
Severity
Low
Public date
Nov 11, 2004, 12:00 AM