CVE-2004-1051
sudo before 1.6.8p2 allows local users to execute arbitrary commands by using "()" style...
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.
Exploit likelihood
What each source reports
NVD Score used 7.2
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.
- Record
CVE-2004-1051- CVSS 2.0
- 7.2 High
AV:L/AC:L/Au:N/C:C/I:C/A:C - Updated
- 2026-11-02
CVE ListNo score
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.
- Record
CVE-2004-1051- Updated
- 2026-11-02
EUVDEUVD-2004-1049No score
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.
- Record
EUVD-2004-1049- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-792w-v225-x939No score
sudo before 1.6.8p2 allows local users to execute arbitrary commands by using "()" style...
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.
- Record
GHSA-792w-v225-x939- Updated
- 2026-11-02
OSVNo score
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.
- Record
CVE-2004-1051- Updated
- 2026-11-02
OSVDEBIAN-CVE-2004-1051No score
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.
- Record
DEBIAN-CVE-2004-1051- Updated
- 2026-11-02
Affected products
Affected packages
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2004-1051 is a high vulnerability (CVSS 7.2) in Todd Miller Sudo, published November 18, 2004. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.37%, the 72nd percentile. Fixed in sudo 1.6.8p3-1.