{"id":"CVE-2017-1000367","published":"2017-06-05T00:00:00Z","modified":"2024-08-05T22:00:39Z","title":"Todd Miller's sudo version 1.8.20 and earlier is vulnerable to an input validation (embedded spaces) in the…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is an input validation weakness involving embedded spaces in the get_process_ttyname() function of Todd Miller's sudo, affecting version 1.8.20 and earlier. An attacker can use it to disclose information and execute commands.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:58:44Z"},"cvss":null,"epss":{"score":0.08068,"percentile":0.94927,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2023-08-17","exploitedFirstSeen":"2023-08-17","ransomware":false,"evidence":[{"url":"https://information.rapid7.com/rs/411-NAK-970/images/Rapid7-2023-Mid-Year-Threat-Review.pdf","date":"2023-08-17"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":1,"pulses":[{"name":"CVE Data","url":"https://otx.alienvault.com/pulse/69929b597293fe5837b9c95c","created":"2026-02-16"}],"provenance":"machine"},"cwes":[],"references":[{"url":"http://www.ubuntu.com/usn/USN-3304-1","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/201705-15","tags":["vendor-advisory"]},{"url":"http://www.securityfocus.com/bid/98745","tags":["vdb-entry"]},{"url":"https://www.sudo.ws/alerts/linux_tty.html","tags":[]},{"url":"http://seclists.org/fulldisclosure/2017/Jun/3","tags":["mailing-list"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VXEXC4NNIG2QOZY6N2YUK246KI3D3UQO/","tags":["vendor-advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:1382","tags":["vendor-advisory"]},{"url":"http://packetstormsecurity.com/files/142783/Sudo-get_process_ttyname-Race-Condition.html","tags":[]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00077.html","tags":["vendor-advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00078.html","tags":["vendor-advisory"]},{"url":"http://www.debian.org/security/2017/dsa-3867","tags":["vendor-advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00079.html","tags":["vendor-advisory"]},{"url":"https://www.exploit-db.com/exploits/42183/","tags":["exploit"]},{"url":"http://www.openwall.com/lists/oss-security/2017/05/30/16","tags":["mailing-list"]},{"url":"https://access.redhat.com/errata/RHSA-2017:1381","tags":["vendor-advisory"]},{"url":"http://www.securitytracker.com/id/1038582","tags":["vdb-entry"]},{"url":"http://www.openwall.com/lists/oss-security/2022/12/22/5","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/12/22/6","tags":["mailing-list"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2017-1526","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2017-1526","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":42183,"url":"https://www.exploit-db.com/exploits/42183","title":"Sudo 1.8.20 - 'get_process_ttyname()' Local Privilege Escalation","type":"local","platform":"linux","date":"2017-06-14","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2017-06-14"},"pocGithub":{"count":4,"skipped":0,"earliest":"2017-05-30","earliestUrl":"https://github.com/c0d3z3r0/sudo-CVE-2017-1000367","repos":[{"name":"c0d3z3r0/sudo-CVE-2017-1000367","url":"https://github.com/c0d3z3r0/sudo-CVE-2017-1000367","stars":114,"created":"2017-05-30"},{"name":"pucerpocok/sudo_exploit","url":"https://github.com/pucerpocok/sudo_exploit","stars":6,"created":"2017-06-08"},{"name":"homjxi0e/CVE-2017-1000367","url":"https://github.com/homjxi0e/CVE-2017-1000367","stars":1,"created":"2017-06-04"},{"name":"letsr00t/CVE-2017-1000367","url":"https://github.com/letsr00t/CVE-2017-1000367","stars":0,"created":"2025-10-17"}]},"first":{"date":"2017-05-30","source":"PoC-in-GitHub","url":"https://github.com/c0d3z3r0/sudo-CVE-2017-1000367"},"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/42183/","http://packetstormsecurity.com/files/142783/Sudo-get_process_ttyname-Race-Condition.html"],"flow":[],"timeline":[{"date":"2017-05-30","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub; later: Exploit-DB 2017-06-14","url":"https://github.com/c0d3z3r0/sudo-CVE-2017-1000367","provenance":"source"},{"date":"2017-06-05","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2017-1000367","provenance":"source"},{"date":"2023-08-17","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://information.rapid7.com/rs/411-NAK-970/images/Rapid7-2023-Mid-Year-Threat-Review.pdf","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":59.7,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1192 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":18.99,"detail":"percentile 0.9493"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD reference tagged Exploit; 1 Exploit-DB entry; 1 NVD exploit link; 4 PoC-in-GitHub repos"},{"name":"Mentioned in OTX pulses","points":0.68,"detail":"1 pulse"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}