CVE-2017-1000367 EXPLOIT
6.4
MEDIUM · CVSS 3.0 · EPSS 8% (pctl 95)
Patch early
A public exploit exists.
Description
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.
Scoring
| CVSS | 6.4 (MEDIUM, v3.0) |
|---|---|
| Vector | CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 8% — more likely to be exploited than 95% of all CVEs |
| Weakness | CWE-362 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2017-06-05 |
| Last modified | 2026-06-17 |
Affected (1)
| Vendor | Product |
|---|---|
| sudo project | sudo |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | Sudo 1.8.20 - 'get_process_ttyname()' Local Privilege Escalation | 2017-06-14 |
References
- http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00077.html
- http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00078.html
- http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00079.html
- http://packetstormsecurity.com/files/142783/Sudo-get_process_ttyname-Race-Condition.html
- http://seclists.org/fulldisclosure/2017/Jun/3
- http://www.debian.org/security/2017/dsa-3867
- http://www.openwall.com/lists/oss-security/2017/05/30/16
- http://www.openwall.com/lists/oss-security/2022/12/22/5
- http://www.openwall.com/lists/oss-security/2022/12/22/6
- http://www.securityfocus.com/bid/98745
- http://www.securitytracker.com/id/1038582
- http://www.ubuntu.com/usn/USN-3304-1
- https://access.redhat.com/errata/RHSA-2017:1381
- https://access.redhat.com/errata/RHSA-2017:1382
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VXEXC4NNIG2QOZY6N2YUK246KI3D3UQO/
- https://security.gentoo.org/glsa/201705-15
- https://www.exploit-db.com/exploits/42183/
- https://www.sudo.ws/alerts/linux_tty.html
- http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00077.html
- http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00078.html
→ the Explorer · watch your stack · NVD