CVE-2017-1000367
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.
Does this matter?
A public exploit is published in Exploit-DB, so the technical barrier is gone even though the severity is medium and EPSS is 8.1%. Treat it as high on anything reachable from the internet.
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.
- CVSS 3.0
- 6.4 MEDIUMCVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 8.07% probability · 95th percentile
- Public exploits
- 1 in Exploit-DB · first 14 June 2017
- CISA KEV
- Not listed
- Weakness
- CWE-362
- Affected
- sudo project/sudo
- Source
- cve@mitre.org
EPSS 8.1% since 27 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
References
- http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00077.htmlThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00078.htmlThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00079.htmlThird Party Advisory
- http://packetstormsecurity.com/files/142783/Sudo-get_process_ttyname-Race-Condition.htmlExploit, Third Party Advisory, VDB Entry
- http://seclists.org/fulldisclosure/2017/Jun/3Mailing List, Third Party Advisory
- http://www.debian.org/security/2017/dsa-3867Third Party Advisory
- http://www.openwall.com/lists/oss-security/2017/05/30/16Exploit, Mailing List, Third Party Advisory
- 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/98745Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1038582Exploit, Third Party Advisory, VDB Entry
- http://www.ubuntu.com/usn/USN-3304-1Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:1381Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:1382Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VXEXC4NNIG2QOZY6N2YUK246KI3D3UQO/
- https://security.gentoo.org/glsa/201705-15Third Party Advisory
- https://www.exploit-db.com/exploits/42183/Third Party Advisory, VDB Entry
- https://www.sudo.ws/alerts/linux_tty.htmlVendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00077.htmlThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00078.htmlThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00079.htmlThird Party Advisory
- http://packetstormsecurity.com/files/142783/Sudo-get_process_ttyname-Race-Condition.htmlExploit, Third Party Advisory, VDB Entry
- http://seclists.org/fulldisclosure/2017/Jun/3Mailing List, Third Party Advisory
- http://www.debian.org/security/2017/dsa-3867Third Party Advisory
- http://www.openwall.com/lists/oss-security/2017/05/30/16Exploit, Mailing List, Third Party Advisory
- 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/98745Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1038582Exploit, Third Party Advisory, VDB Entry
- http://www.ubuntu.com/usn/USN-3304-1Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.