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…
High7.2EPSS 1.4%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
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 (4 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.
Weakness
- n/a
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)
- 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://trackcve.app/cve/CVE-2004-1051)Record last updated .