CVE-2004-1051

NameCVE-2004-1051
Descriptionsudo 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-596-2
NVD severityhigh (attack range: local)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
sudo (PTS)wheezy1.8.5p2-1+nmu3+deb7u1fixed
wheezy (security)1.8.5p2-1+nmu3+deb7u4fixed
jessie (security), jessie1.8.10p3-1+deb8u4fixed
stretch1.8.19p1-2.1fixed
buster, sid1.8.21p2-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sudosource(unstable)1.6.8p3-1high
sudosourcewoody1.6.6-1.3highDSA-596-2

Search for package or bug name: Reporting problems