Todd Miller's sudo version 1.8.20 and earlier is vulnerable to an input validation (embedded spaces) in the get_process_ttyname() function r
Todd Miller's sudo version 1.8.20 and earlier is vulnerable to an input validation (embedded spaces) in the get_process_ttyname() function resulting in information disclosure and command execution.
- Published
- Jun 5, 2017
- Updated
- Jun 16, 2026
- EPSS
- 8.0% · 95th percentile
- CWE
- CWE-362
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
27
Monitor
Low priority for now.
- CVSS
- 25 / 40 · 6.4 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 8.0%
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; 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 helpAffected systems
| Vendor | Product | CPE |
|---|---|---|
| sudo project | sudo | cpe:2.3:a:sudo_project:sudo |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- sudo project sudoup to 1.8.20 inclusive
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.8.20p1-1 | 1.8.20p1-1 |
| Debian:7 | sudo | before 1.8.5p2-1+nmu3+deb7u3 | 1.8.5p2-1+nmu3+deb7u3 |
| Debian:8 | sudo | before 1.8.10p3-1+deb8u4 | 1.8.10p3-1+deb8u4 |
| openSUSE:Tumbleweed | sudo | before 1.9.7p2-1.4 | 1.9.7p2-1.4 |
| Red Hat:enterprise_linux:6::client | sudo | before 0:1.8.6p3-28.el6_9 | 0:1.8.6p3-28.el6_9 |
| Red Hat:enterprise_linux:6::client | sudo-debuginfo | before 0:1.8.6p3-28.el6_9 | 0:1.8.6p3-28.el6_9 |
| Red Hat:enterprise_linux:6::client | sudo-devel | before 0:1.8.6p3-28.el6_9 | 0:1.8.6p3-28.el6_9 |
| Red Hat:enterprise_linux:7::client | sudo | before 0:1.8.6p7-22.el7_3 | 0:1.8.6p7-22.el7_3 |
| Red Hat:enterprise_linux:7::client | sudo-debuginfo | before 0:1.8.6p7-22.el7_3 | 0:1.8.6p7-22.el7_3 |
| Red Hat:enterprise_linux:7::client | sudo-devel | before 0:1.8.6p7-22.el7_3 | 0:1.8.6p7-22.el7_3 |
| Red Hat:rhel_els:5 | sudo | before 0:1.7.2p1-30.el5_11 | 0:1.7.2p1-30.el5_11 |
| Red Hat:rhel_els:5 | sudo-debuginfo | before 0:1.7.2p1-30.el5_11 | 0:1.7.2p1-30.el5_11 |
| SUSE:Linux Enterprise Desktop 12 SP1 | sudo | before 1.8.10p3-2.11.1 | 1.8.10p3-2.11.1 |
| SUSE:Linux Enterprise Desktop 12 SP2 | sudo | before 1.8.10p3-10.5.1 | 1.8.10p3-10.5.1 |
Same product
sudo project: all recordsOther highest-scoring records for the same primary product.
- CVE-2021-3156Sudo before 1.9.5p2 contains an off-by-one error that can result in a heap-based buffer overflow, which allows privilege escalation to root KEV91Now
- CVE-2025-32463Sudo before 1.9.17p1 allows local users to obtain root access because /etc/nsswitch.conf from a user-controlled directory is used with the -KEV79This week
- CVE-2019-14287In Sudo before 1.8.28, an attacker with access to a Runas ALL sudoer account can bypass certain policy blacklists and session PAM modules, a54Plan
- CVE-2023-22809In Sudo before 1.9.12p2, the sudoedit (aka -e) feature mishandles extra arguments passed in the user-provided environment variables (SUDO_ED48Plan
- CVE-2019-18634In Sudo before 1.8.26, if pwfeedback is enabled in /etc/sudoers, users can trigger a stack-based buffer overflow in the privileged sudo proc37Monitor
- CVE-2025-32462Sudo before 1.9.17p1, when used with a sudoers file that specifies a host that is neither the current host nor ALL, allows listed users to e36Monitor
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.8.20p1-1 · Debian:12 | Package registry (OSV) |
| opensuse:sudo | 1.9.7p2-1.4 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:sudo | 0:1.7.2p1-30.el5_11 · Red Hat:rhel_els:5 | Package registry (OSV) |
| red hat:sudo-debuginfo | 0:1.7.2p1-30.el5_11 · Red Hat:rhel_els:5 | Package registry (OSV) |
| red hat:sudo-devel | 0:1.8.6p3-28.el6_9 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| suse:sudo | 1.8.10p3-2.11.1 · SUSE:Linux Enterprise Desktop 12 SP1 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×1
- Proof-of-concept repository on GitHub ×4
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | local | 2017-06-14 |
| Proof-of-concept repository on GitHub | stars:114 | 2017-05-30 |
| Proof-of-concept repository on GitHub | stars:1 | 2017-06-04 |
| Proof-of-concept repository on GitHub | stars:6 | 2017-06-08 |
| Proof-of-concept repository on GitHub | stars:0 | 2025-10-17 |
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.
- First PoC-6 d
- Published
- TodaySep 30, 2026+3405 d
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
- Someone with local access to the system can trigger it.
- Administrator privileges are required.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')CVSS vector
CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
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.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lists.opensuse.org/opensuse-security-announce/2017-05/msg00077.html
- lists.opensuse.org/opensuse-security-announce/2017-05/msg00078.html
- lists.opensuse.org/opensuse-security-announce/2017-05/msg00079.html
- seclists.org/fulldisclosure/2017/Jun/3
- www.debian.org/security/2017/dsa-3867
- www.openwall.com/lists/oss-security/2022/12/22/5
- www.openwall.com/lists/oss-security/2022/12/22/6
- www.securityfocus.com/bid/98745
- www.ubuntu.com/usn/USN-3304-1
- access.redhat.com/errata/RHSA-2017:1381
- access.redhat.com/errata/RHSA-2017:1382
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VXEXC4NNIG2QOZY6N2YUK246KI3D3UQO/
- security.gentoo.org/glsa/201705-15
- www.exploit-db.com/exploits/42183/
- www.sudo.ws/alerts/linux_tty.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.