CVE-2004-1051
No CVSS score yet. EPSS 1.4% estimated probability of exploitation activity in the next 30 days.
On this page
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.
- EPSS
- 1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 73rd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Debian: fixed package versions per release
- Patch: http://www.securityfocus.com/bid/11668
- Vendor advisory: http://www.securityfocus.com/bid/11668
Ask an AI about this CVE
Show the prompt
Explain CVE-2004-1051 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2004-1051?via=ask-ai-copy and https://cve.bz/cve/CVE-2004-1051?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2004-1051 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
- debian:debian_linux
- mandrakesoft:mandrake_linux
- mandrakesoft:mandrake_linux_corporate_server
- mandrakesoft:mandrake_multi_network_firewall
- todd_miller:sudo
- trustix:secure_linux
- ubuntu:ubuntu_linux
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| mandrakesoft:mandrake_multi_network_firewall | 8.2 |
| todd_miller:sudo | 1.5.6 |
| todd_miller:sudo | 1.5.7 |
| todd_miller:sudo | 1.5.8 |
| todd_miller:sudo | 1.5.9 |
| todd_miller:sudo | 1.6 |
| todd_miller:sudo | 1.6.1 |
| todd_miller:sudo | 1.6.2 |
| todd_miller:sudo | 1.6.3 |
| todd_miller:sudo | 1.6.3_p1 |
| todd_miller:sudo | 1.6.3_p2 |
| todd_miller:sudo | 1.6.3_p3 |
| todd_miller:sudo | 1.6.3_p4 |
| todd_miller:sudo | 1.6.3_p5 |
| todd_miller:sudo | 1.6.3_p6 |
| todd_miller:sudo | 1.6.3_p7 |
| todd_miller:sudo | 1.6.4 |
| todd_miller:sudo | 1.6.4_p1 |
| todd_miller:sudo | 1.6.4_p2 |
| todd_miller:sudo | 1.6.5 |
| todd_miller:sudo | 1.6.5_p1 |
| todd_miller:sudo | 1.6.5_p2 |
| todd_miller:sudo | 1.6.6 |
| todd_miller:sudo | 1.6.7 |
| todd_miller:sudo | 1.6.8 |
| todd_miller:sudo | 1.6.8_p1 |
| debian:debian_linux | 3.0 |
| mandrakesoft:mandrake_linux | 9.2 |
| mandrakesoft:mandrake_linux | 10.0 |
| mandrakesoft:mandrake_linux | 10.1 |
| mandrakesoft:mandrake_linux_corporate_server | 2.1 |
| trustix:secure_linux | 1.5 |
| trustix:secure_linux | 2.0 |
| trustix:secure_linux | 2.1 |
| trustix:secure_linux | 2.2 |
| ubuntu:ubuntu_linux | 4.1 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 3.0 | sudo | 1.6.6-1.3 | DSA-596-2 |
| Debian | 12, 13, 14 | sudo | 1.6.8p3-1 | DEBIAN-CVE-2004-1051 |
From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.
References
- http://www.securityfocus.com/bid/11668
- 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.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/