LiveActive security incident?Get immediate response
CVE Record

CVE-2005-4158: Sudo before 1.6.8 p12, when the Perl taint flag is off, does not clear the (1) PERLLIB, (2) PERL5LIB, and (...

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysis

Security readout for executives and security teams

This is an old sudo flaw where certain Perl environment variables were not cleared. If a local user could run an affected Perl script through sudo, they might make that script load attacker-controlled Perl library files. Business risk is mainly on legacy Unix/Linux systems with old sudo packages and permissive sudo rules. Exposure is most likely on obsolete systems still running sudo before 1.6.8 p12, especially where sudoers allows local users to execute Perl scripts and those scripts run without Perl taint mode. The bundle does not identify modern affected products or complete package ranges. Prioritize legacy server review rather than emergency response. This can matter where old sudo versions remain on systems with local shell users, shared hosting, jump boxes, or administrative scripts. Modern patched fleets are unlikely to need more than confirmation. Mitigation focus: Upgrade sudo to 1.6.8 p12 or a vendor-fixed package.; Review vendor advisories for distribution-specific corrected versions.; Restrict sudoers entries that allow users to run privileged Perl scripts..

Prepared

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2005-4158 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.