CVE-2004-1051: Debian Linux
High severity, CVSS 7.2. EPSS: 1.4% probability of exploitation activity in the next 30 days.
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.
What to do
No fixed version is stated in NVD's or the CNA's structured data. The description says "before 1.6.8p2"; check the vendor's advisory for the release that fixes it.
Affected products
- Debian Debian Linux: version 3.0 only
- Mandrakesoft Mandrake Linux: version 9.2 only; version 10.0 only; version 10.1 only
- Mandrakesoft Mandrake Linux Corporate Server: version 2.1 only
- Mandrakesoft Mandrake Multi Network Firewall: version 8.2 only
- Todd Miller Sudo: version 1.5.6 only; version 1.5.7 only; version 1.5.8 only; version 1.5.9 only; version 1.6 only; version 1.6.1 only; …
- Trustix Secure Linux: version 1.5 only; version 2.0 only; version 2.1 only; version 2.2 only
- Ubuntu Ubuntu Linux: version 4.1 only
Published 2005-03-01. Last modified 2026-06-16.