CVE-2004-1051

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.

Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
1.374%
chance of exploitation in the next 30 days
higher than 72.5% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Timeline

  1. 2004-11-18Published by the CNA05:00 UTC

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
todd_miller sudo1.5.6no fix listed1.5.7no fix listed1.5.8no fix listed1.5.9no fix listed1.6no fix listed(+20 more)not listednot listednot listednot listednot listed
debian debian_linux3.0no fix listednot listed
mandrakesoft mandrake_linux10.0no fix listed10.1no fix listed9.2no fix listednot listednot listednot listed
mandrakesoft mandrake_linux_corporate_server2.1no fix listednot listed
mandrakesoft mandrake_multi_network_firewall8.2no fix listednot listed
trustix secure_linux1.5no fix listed2.0no fix listed2.1no fix listed2.2no fix listednot listednot listednot listednot listed
ubuntu ubuntu_linux4.1no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources