sudo before 1.6.8p2 allows local users to execute arbitrary commands by using "()" style environment variables to create functions that have
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.4% · 71th percentile
- CWE
- —
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
28
Monitor
Low priority for now.
- CVSS
- 28 / 40 · 7.2 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.4%
Affected systems
| 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
- 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 an28Monitor
- 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 inste8Monitor
- 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 f8Monitor
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.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
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.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lists.apple.com/archives/security-announce/2005/May/msg00001.html
- 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.