Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2004-1051

22
FAUCET Score

CVE-2004-1051 describes a local privilege escalation vulnerability in sudo versions prior to 1.6.8p2, affecting products like Debian, Mandrakesoft, and Ubuntu. An attacker can exploit this by manipulating environment variables to create functions with names matching programs called within bash scripts, bypassing intended execution paths. With a CVSS score of 7.2 (AV:L/AC:L/Au:N/C:C/I:C/A:C), this flaw allows an unauthenticated local user to achieve complete compromise of confidentiality, integrity, and availability. While the vulnerability is severe, there is no evidence of active exploitation, and no public exploit code or significant community discussion has been identified.

Impacted Technologies

VendorProductVersion(s)CPE
8.2CPE matchmatch criteria
cpe:2.3:a:mandrakesoft:mandrake_multi_network_firewall:8.2:*:*:*:*:*:*:*
1.5.6CPE matchmatch criteria
cpe:2.3:a:todd_miller:sudo:1.5.6:*:*:*:*:*:*:*
1.5.7CPE matchmatch criteria
cpe:2.3:a:todd_miller:sudo:1.5.7:*:*:*:*:*:*:*
1.5.8CPE matchmatch criteria
cpe:2.3:a:todd_miller:sudo:1.5.8:*:*:*:*:*:*:*
1.5.9CPE matchmatch criteria
cpe:2.3:a:todd_miller:sudo:1.5.9:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 2.0

7.2HIGH

AV:L/AC:L/Au:N/C:C/I:C/A:C

Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
Access Vector
LOCAL
Access Complexity
LOW
Authentication
NONE
Exploitability Score
3.9
Impact Score
10.0
CvssVersion
2.0

Exploit Intelligence

EPSS Score
1.37%
Probability of exploitation in next 30 days
EPSS Percentile
69.2%
Percentile rank of EPSS score among Peer Group
As of 2026-07-25
Model: v2026.06.15
This CVE's current EPSS score of 0.0137 is in the 85th percentile among its peer group of 3,237 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.5 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Vendor Advisories (1)

redhatCVE-2004-1051Low

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

Nov 11, 2004

References

lists.apple.com / archives/security-announce/2005/May/msg00001.html
marc.info
marc.info
exchange.xforce.ibmcloud.com / vulnerabilities/18055
ubuntu.com / usn/usn-28-1
debian.org / security/2004/dsa-596
mandriva.com / security/advisories
securityfocus.com / bid/11668
PatchVendor Advisory
sudo.ws / sudo/alerts/bash_functions.html
trustix.org / errata/2004/0061