CVE-2004-1051 json
sudo before 1.6.8p2 allows local users to execute arbitrary commands by using "()" style environment variables to create functions that hav…
published 2004-11-18 21 y ago modified 2026-06-16 4 mo ago also EUVD-2004-1049
- cvss
- 7.2
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- sudo Debian 14, Debian 13, Debian 12 1.6.8p3-1
debian advisories DEBIAN-CVE-2004-1051
- securityfocus.com/bid/11668 advisory
Exploit prediction
1.37% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
References
-
securityfocus.com
/bid/11668
vdb-entry, patch, vendor-advisory
-
ubuntu.com
/usn/usn-28-1/
vendor-advisory
-
marc.info
/?l=bugtraq&m=110598298225675&w=2
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2004:133
vendor-advisory
-
lists.apple.com
/archives/security-announce/2005/May/msg00001.html
vendor-advisory
-
debian.org
/security/2004/dsa-596
vendor-advisory
-
trustix.org
/errata/2004/0061/
vendor-advisory
- sudo.ws /sudo/alerts/bash_functions.html
-
marc.info
/?l=bugtraq&m=110028877431192&w=2
mailing-list
-
exchange.xforce.ibmcloud.com
/vulnerabilities/18055
vdb-entry
Sources
- CVE List CVE-2004-1051
- NVD CVE-2004-1051
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.