CVE-2004-1051: sudo before 1.6.8p2 allows local users to execute arbitrary commands by using "()" style environment variables to create functions that have…
Noroxi assessment
Priority: Monitor (action score 28/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.3% (FIRST EPSS); higher than 72.4% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: sudo (Debian:12) 1.6.8p3-1; sudo (Debian:3.0) 1.6.6-1.3.
Low priority for now. Upgrade to sudo (Debian:12) 1.6.8p3-1; sudo (Debian:3.0) 1.6.6-1.3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Mar 1, 2005
- Updated
- Jun 16, 2026
- EPSS
- 1.3% · 72th percentile
- CWE
- —
Report tools
Action score
28
Low priority for now.
- CVSS
- 28 / 40 · 7.2 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.3%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| mandrakesoft | mandrake multi network firewall | cpe:2.3:a:mandrakesoft:mandrake_multi_network_firewall |
| mandrakesoft | mandrake linux | cpe:2.3:o:mandrakesoft:mandrake_linux |
| mandrakesoft | mandrake linux corporate server | cpe:2.3:o:mandrakesoft:mandrake_linux_corporate_server |
| todd miller | sudo | cpe:2.3:a:todd_miller:sudo |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| trustix | secure linux | cpe:2.3:o:trustix:secure_linux |
| ubuntu | ubuntu linux | cpe:2.3:o:ubuntu:ubuntu_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux3.0
- mandrakesoft mandrake linux10.0
- mandrakesoft mandrake linux10.1
- mandrakesoft mandrake linux9.2
- mandrakesoft mandrake linux corporate server2.1
- mandrakesoft mandrake multi network firewall8.2
- todd miller sudo1.5.6
- todd miller sudo1.5.7
+12 more rows
- todd miller sudo1.5.8
- todd miller sudo1.5.9
- todd miller sudo1.6
- todd miller sudo1.6.1
- todd miller sudo1.6.2
- todd miller sudo1.6.3
- todd miller sudo1.6.3_p1
- todd miller sudo1.6.3_p2
- todd miller sudo1.6.3_p3
- todd miller sudo1.6.3_p4
- todd miller sudo1.6.3_p5
- todd miller sudo1.6.3_p6
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | sudo | before 1.6.8p3-1 | 1.6.8p3-1 |
| Debian:3.0 | sudo | before 1.6.6-1.3 | 1.6.6-1.3 |
Same product
mandrakesoft: all recordsOther highest-scoring records for the same primary product.
- CVE-2004-2396passwd 0.68 does not check the return code for the pam_start function, which has unknown impact and attack vectors that may prevent "safe…28Monitor
- CVE-2004-2394Off-by-one error in passwd 0.68 and earlier, when using the --stdin option, causes passwd to use the first 78 characters of a password…8Monitor
- CVE-2004-2395Memory leak in passwd 0.68 allows local users to cause a denial of service (memory consumption) via a large number of failed read attempts…8Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:sudo | 1.6.8p3-1 · Debian:12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- C · data can be read
- Integrity
- C · data or configuration can be modified
- Availability
- C · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- C
- Integrity impact
- C
- Availability impact
- C
Weakness class (CWE)
—
CVSS vector
AV:L/AC:L/Au:N/C:C/I:C/A:C
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (9 more)Show less
- marc.info/?l=bugtraq&m=110028877431192&w=2
- marc.info/?l=bugtraq&m=110598298225675&w=2
- www.debian.org/security/2004/dsa-596
- www.mandriva.com/security/advisories?name=MDKSA-2004:133
- www.securityfocus.com/bid/11668
- www.sudo.ws/sudo/alerts/bash_functions.html
- www.trustix.org/errata/2004/0061/
- exchange.xforce.ibmcloud.com/vulnerabilities/18055
- www.ubuntu.com/usn/usn-28-1/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.