Sudo does not clear PERL environment variables
Multiple products
At a glance
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.
Source description · CVE List / CNA
System impact
CVSS summary v2.0
- Published:
- Updated:
- EPSS:
- 1.077%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Local
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:todd_miller | sudo | Affected versions:1.5.6Show full version range for sudo1.5.71.5.81.5.91.61.6.11.6.21.6.31.6.3_p11.6.3_p21.6.3_p31.6.3_p41.6.3_p51.6.3_p61.6.3_p71.6.41.6.4_p11.6.4_p21.6.51.6.5_p11.6.5_p21.6.61.6.71.6.7_p51.6.81.6.8_p11.6.8_p51.6.8_p71.6.8_p81.6.8_p9 |
| Vendor:Debian | sudoEnvironments (4)
| Affected versions: < 1.6.8p12-1 |
| Vendor:Debian | sudo-ldapEnvironments (4)
| Affected versions: < 1.6.8p12-1 |
| Vendor:SUSE | sudoEnvironments (2)
| Affected versions: < 0:1.9.17p1-160000.2.2 |
| Vendor:SUSE | sudo-develEnvironments (2)
| Affected versions: < 0:1.9.17p1-160000.2.2 |
| Vendor:SUSE | sudo-plugin-pythonEnvironments (2)
| Affected versions: < 0:1.9.17p1-160000.2.2 |
| Vendor:SUSE | sudo-policy-sudo-auth-selfEnvironments (2)
| Affected versions: < 0:1.9.17p1-160000.2.2 |
| Vendor:SUSE | sudo-policy-wheel-auth-selfEnvironments (2)
| Affected versions: < 0:1.9.17p1-160000.2.2 |
| Vendor:SUSE | system-group-sudoEnvironments (2)
| Affected versions: < 0:1.9.17p1-160000.2.2 |
| Vendor:SUSE | sudoEnvironments (2)
| Affected versions: < 0:1.9.17p1-160100.2.1 |
1–10 of 15 · Page 1 of 2
CVSS scores and metrics2
[email protected] · NVD (Primary)Primary4.6 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:L/Au:N/C:P/I:P/A:Pnvd · Wazuh CTI (cna)4.6 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:L/Au:N/C:P/I:P/A:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories27
- CVE List / CNA
- NVD
- Wazuh CTI
- FIRST EPSS
- securityfocus.com
- mandriva.com
- securitytracker.com
- debian.org
- novell.com
- mandriva.com
- vupen.com
- sudo.ws
- secunia.com
- secunia.com
- exchange.xforce.ibmcloud.com
- secunia.com
- trustix.org
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- ubuntu.com
- secunia.com
- SUSE-SR:2006:002
- security-tracker.debian.org
- SUSE CVE-2005-4158
- Mitre CVE-2005-4158
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences