{"id":"CVE-2005-4158","state":"PUBLISHED","title":"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 ca","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.","publishedAt":"2005-12-11T02:00:00.000Z","updatedAt":"2024-08-07T23:38:50.845Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.mandriva.com/security/advisories?name=MDKSA-2005:234","http://secunia.com/advisories/18549","https://exchange.xforce.ibmcloud.com/vulnerabilities/23102","http://secunia.com/advisories/18558","http://www.trustix.org/errata/2006/0002/","http://secunia.com/advisories/18463","http://secunia.com/advisories/18308","http://www.vupen.com/english/advisories/2005/2386","http://www.securityfocus.com/bid/15394","http://secunia.com/advisories/18156","http://secunia.com/advisories/18102","https://www.ubuntu.com/usn/usn-235-1/","http://www.novell.com/linux/security/advisories/2006_02_sr.html","http://www.debian.org/security/2006/dsa-946","http://securitytracker.com/alerts/2005/Nov/1015192.html","http://www.mandriva.com/security/advisories?name=MDKSA-2006:159","http://secunia.com/advisories/21692","http://www.sudo.ws/sudo/alerts/perl_env.html","http://secunia.com/advisories/17534/"],"weaknesses":[],"ingestedAt":"2026-10-29T19:27:28.800Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2005/4xxx/CVE-2005-4158.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2005-4158","state":"PUBLISHED","datePublished":"2005-12-11T02:00:00.000Z","dateUpdated":"2024-08-07T23:38:50.845Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2005-12-11T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:234","name":"MDKSA-2005:234","tags":["vendor-advisory","x_refsource_MANDRAKE"]},{"url":"http://secunia.com/advisories/18549","name":"18549","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/23102","name":"sudo-perl-execute-code(23102)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://secunia.com/advisories/18558","name":"18558","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.trustix.org/errata/2006/0002/","name":"2006-0002","tags":["vendor-advisory","x_refsource_TRUSTIX"]},{"url":"http://secunia.com/advisories/18463","name":"18463","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/18308","name":"18308","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2005/2386","name":"ADV-2005-2386","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.securityfocus.com/bid/15394","name":"15394","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://secunia.com/advisories/18156","name":"18156","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/18102","name":"18102","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://www.ubuntu.com/usn/usn-235-1/","name":"USN-235-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.novell.com/linux/security/advisories/2006_02_sr.html","name":"SUSE-SR:2006:002","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.debian.org/security/2006/dsa-946","name":"DSA-946","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://securitytracker.com/alerts/2005/Nov/1015192.html","name":"1015192","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:159","name":"MDKSA-2006:159","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/21692","name":"21692","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.sudo.ws/sudo/alerts/perl_env.html","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/17534/","name":"17534","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-07-19T15:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2005-11-10T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2005-4158","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"MDKSA-2005:234","refsource":"MANDRAKE","url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:234"},{"name":"18549","refsource":"SECUNIA","url":"http://secunia.com/advisories/18549"},{"name":"sudo-perl-execute-code(23102)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/23102"},{"name":"18558","refsource":"SECUNIA","url":"http://secunia.com/advisories/18558"},{"name":"2006-0002","refsource":"TRUSTIX","url":"http://www.trustix.org/errata/2006/0002/"},{"name":"18463","refsource":"SECUNIA","url":"http://secunia.com/advisories/18463"},{"name":"18308","refsource":"SECUNIA","url":"http://secunia.com/advisories/18308"},{"name":"ADV-2005-2386","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2005/2386"},{"name":"15394","refsource":"BID","url":"http://www.securityfocus.com/bid/15394"},{"name":"18156","refsource":"SECUNIA","url":"http://secunia.com/advisories/18156"},{"name":"18102","refsource":"SECUNIA","url":"http://secunia.com/advisories/18102"},{"name":"USN-235-1","refsource":"UBUNTU","url":"https://www.ubuntu.com/usn/usn-235-1/"},{"name":"SUSE-SR:2006:002","refsource":"SUSE","url":"http://www.novell.com/linux/security/advisories/2006_02_sr.html"},{"name":"DSA-946","refsource":"DEBIAN","url":"http://www.debian.org/security/2006/dsa-946"},{"name":"1015192","refsource":"SECTRACK","url":"http://securitytracker.com/alerts/2005/Nov/1015192.html"},{"name":"MDKSA-2006:159","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:159"},{"name":"21692","refsource":"SECUNIA","url":"http://secunia.com/advisories/21692"},{"name":"http://www.sudo.ws/sudo/alerts/perl_env.html","refsource":"CONFIRM","url":"http://www.sudo.ws/sudo/alerts/perl_env.html"},{"name":"17534","refsource":"SECUNIA","url":"http://secunia.com/advisories/17534/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:234","name":"MDKSA-2005:234","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred"]},{"url":"http://secunia.com/advisories/18549","name":"18549","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/23102","name":"sudo-perl-execute-code(23102)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://secunia.com/advisories/18558","name":"18558","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.trustix.org/errata/2006/0002/","name":"2006-0002","tags":["vendor-advisory","x_refsource_TRUSTIX","x_transferred"]},{"url":"http://secunia.com/advisories/18463","name":"18463","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/18308","name":"18308","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2005/2386","name":"ADV-2005-2386","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.securityfocus.com/bid/15394","name":"15394","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://secunia.com/advisories/18156","name":"18156","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/18102","name":"18102","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://www.ubuntu.com/usn/usn-235-1/","name":"USN-235-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.novell.com/linux/security/advisories/2006_02_sr.html","name":"SUSE-SR:2006:002","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.debian.org/security/2006/dsa-946","name":"DSA-946","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://securitytracker.com/alerts/2005/Nov/1015192.html","name":"1015192","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:159","name":"MDKSA-2006:159","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://secunia.com/advisories/21692","name":"21692","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.sudo.ws/sudo/alerts/perl_env.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/17534/","name":"17534","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T23:38:50.845Z"}}]}}}