Every CVESearch/Get API key

CVE-2004-1051

sudo before 1.6.8p2 allows local users to execute arbitrary commands by using "()" style...

7.2 HighFix available

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

1.37%Up 0.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used7.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 HighAV: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

Affected packages
PackageAffectedFixed
sudo
Debian:12
before 1.6.8p3-1
1.6.8p3-1
sudo
Debian:13
before 1.6.8p3-1
1.6.8p3-1
sudo
Debian:14
before 1.6.8p3-1
1.6.8p3-1
sudo
Debian:3.0
before 1.6.6-1.3
1.6.6-1.3

History

History
RecordedChangedSources
facts
aliasesEUVD
first indexedCVE 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.

References

Show 7 moreShow less
MoveEnter Open