HOMEVULNERABILITIESCVE-2004-1051
HIGH

CVE-2004-1051

NVD-CWE-OtherPublished: March 1, 2005· Updated: Jun 16, 2026

7.2
CVSS v3.1

Official Description

sudo before 1.6.8p2 allows local users to execute arbitrary commands by using "()" style environment variables to create functions that have the same name as any program within the bash script that is called without using the program's full pathname.

NVD Source

Technical Analysis

CVE-2004-1051 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityC
IntegrityC
AvailabilityC
AV:L/AC:L/Au:N/C:C/I:C/A:C

Affected Vendors & Products

Debian1 product(s)
debian linux
mandrakesoft3 product(s)
mandrake multi network firewallmandrake linuxmandrake linux corporate server
todd_miller1 product(s)
sudo
trustix1 product(s)
secure linux
Ubuntu1 product(s)
ubuntu linux
Source: NVD CPE · 36 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (20)

Quick Facts

CVE IDCVE-2004-1051
CVSS Score7.2 / 10
SeverityHIGH
CISA KEVNo
Affected5 vendor(s)
PublishedMar 1, 2005

Related CVEs (NVD-CWE-Other)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2004-1051 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.