Back
CVE-2004-1051
sudo before 1.6.8p2 allows local users to execute arbitrary commands by using "()" style environment variables to create functions that…
- 7.2HighCVSS base score
- 1.4%Exploitation in 30 daysEPSS · top 28% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By mitre
- 1 day later
· 1 day later
Published
- 20 years later
· 20 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
- EPSS (exploitation in 30 days)
- 1.4% · top 28% of all CVEs (10 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.2.
Affected products
n/a
- affected n/a
References
10
- USN-28-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- http://www.sudo.ws/sudo/alerts/bash_functions.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- OpenPKG-SA-2005.002 (opens in a new tab)vendor-advisoryx_refsource_OPENPKGx_transferred
- 20041112 Sudo version 1.6.8p2 now available (fwd) (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- MDKSA-2004:133 (opens in a new tab)vendor-advisoryx_refsource_MANDRAKEx_transferred
- APPLE-SA-2005-05-03 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- 11668 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- DSA-596 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- sudo-bash-command-execution(18055) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 2004-0061 (opens in a new tab)vendor-advisoryx_refsource_TRUSTIXx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2004-1049 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2004-1051)Record last updated .