What’s Vulnerable › Vulnerabilities
CVE-2004-1051
- Severity: high (CVSS 7.2 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2005-03-01 · updated 2026-06-16
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.
Affected products
- Debian Linux: 3.0
- Mandrakesoft Mandrake Linux: 9.2, 10.0, 10.1
- Mandrakesoft Mandrake Linux Corporate Server: 2.1
- Mandrakesoft Mandrake Multi Network Firewall: 8.2
- Todd Miller Sudo: 1.5.6, 1.5.7, 1.5.8, 1.5.9, 1.6, 1.6.1 (+19)
- Trustix Secure Linux: 1.5, 2.0, 2.1, 2.2
- Ubuntu Linux: 4.1
References
- http://lists.apple.com/archives/security-announce/2005/May/msg00001.html
- http://marc.info/?l=bugtraq&m=110028877431192&w=2
- http://marc.info/?l=bugtraq&m=110598298225675&w=2
- http://www.debian.org/security/2004/dsa-596
- http://www.mandriva.com/security/advisories?name=MDKSA-2004:133
- http://www.securityfocus.com/bid/11668
- http://www.sudo.ws/sudo/alerts/bash_functions.html
- http://www.trustix.org/errata/2004/0061/
- https://exchange.xforce.ibmcloud.com/vulnerabilities/18055
- https://www.ubuntu.com/usn/usn-28-1/
- http://lists.apple.com/archives/security-announce/2005/May/msg00001.html
- http://marc.info/?l=bugtraq&m=110028877431192&w=2
Get alerted when CVE-2004-1051 or the next vulnerability affects your stack