← Vulnerability feed

Vulnerability record · CVE-2017-1000367 · published 5 June 2017

CVE-2017-1000367: Sudo project sudo race condition vulnerability

Sudo Project · Sudo

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.

6.4 CVSS 3.0 Medium EPSS 8.0% · top 5.4% CWE-362 · Race condition
6.4CVSS 3.0 base score, v2 6.9
8.0%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
36References, 6 tagged exploit
17 Jun 2026Last modified by NVD

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/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00077.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00078.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00079.html Third Party Advisory
http://packetstormsecurity.com/files/142783/Sudo-get_process_ttyname-Race-Condition.html ExploitThird Party AdvisoryVDB Entry
http://seclists.org/fulldisclosure/2017/Jun/3 Mailing ListThird Party Advisory
http://www.debian.org/security/2017/dsa-3867 Third Party Advisory
http://www.openwall.com/lists/oss-security/2017/05/30/16 ExploitMailing ListThird 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/98745 Third Party AdvisoryVDB Entry
http://www.securitytracker.com/id/1038582 ExploitThird Party AdvisoryVDB Entry
http://www.ubuntu.com/usn/USN-3304-1 Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:1381 Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:1382 Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VXEXC4NNIG2QOZY6N2YUK24
https://security.gentoo.org/glsa/201705-15 Third Party Advisory
https://www.exploit-db.com/exploits/42183/ Third Party AdvisoryVDB Entry
https://www.sudo.ws/alerts/linux_tty.html Vendor Advisory
http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00077.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00078.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00079.html Third Party Advisory
http://packetstormsecurity.com/files/142783/Sudo-get_process_ttyname-Race-Condition.html ExploitThird Party AdvisoryVDB Entry
http://seclists.org/fulldisclosure/2017/Jun/3 Mailing ListThird Party Advisory
http://www.debian.org/security/2017/dsa-3867 Third Party Advisory
http://www.openwall.com/lists/oss-security/2017/05/30/16 ExploitMailing ListThird 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/98745 Third Party AdvisoryVDB Entry
http://www.securitytracker.com/id/1038582 ExploitThird Party AdvisoryVDB Entry
http://www.ubuntu.com/usn/USN-3304-1 Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:1381 Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:1382 Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VXEXC4NNIG2QOZY6N2YUK24
https://security.gentoo.org/glsa/201705-15 Third Party Advisory
https://www.exploit-db.com/exploits/42183/ Third Party AdvisoryVDB Entry
https://www.sudo.ws/alerts/linux_tty.html Vendor Advisory

Track CVE-2017-1000367 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.8CVE-2025-32463Sudo chroot local privilege escalation via untrusted nsswitch.confSudo before 1.9.17p1 loads /etc/nsswitch.conf from a user-controlled directory when the --chroot option is used, allowing inclusion of functionality …KEVEPSS 61%analysed7.8CVE-2021-3156Sudo off-by-one heap overflow allows root privilege escalationSudo before 1.9.5p2 contains an off-by-one error leading to a heap-based buffer overflow. Triggering it via 'sudoedit -s' with a command-line argumen…KEVEPSS 100%analysed8.8CVE-2025-32462Sudo project sudo incorrect authorization vulnerabilitySudo 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 execute co…EPSS 4.4%8.8CVE-2023-7090Sudo project sudo improper privilege management vulnerabilityA flaw was found in sudo in the handling of ipa_hostname, where ipa_hostname from /etc/sssd/sssd.conf was not propagated in sudo. Therefore, it leads…EPSS 0.69%8.8CVE-2019-14287Sudo policy bypass via crafted user ID in sudo -uSudo before 1.8.28 mishandles a crafted user ID passed to sudo -u, allowing an attacker who already holds a Runas ALL sudoer account to bypass policy…EPSS 64%analysed8.2CVE-2017-1000368Sudo project sudo improper input validation vulnerabilityTodd Miller's sudo version 1.8.20p1 and earlier is vulnerable to an input validation (embedded newlines) in the get_process_ttyname() function result…EPSS 0.57%7.8CVE-2026-35535Sudo project sudo vulnerabilityIn Sudo through 1.9.17p2 before 3e474c2, a failure of a setuid, setgid, or setgroups call, during a privilege drop before running the mailer, is not …EPSS 0.18%7.8CVE-2023-22809Sudo sudoedit Argument Injection Enables Local Privilege EscalationSudo before 1.9.12p2 mishandles extra arguments supplied through the SUDO_EDITOR, VISUAL, and EDITOR environment variables in the sudoedit (-e) featu…EPSS 55%analysed

Source: NIST National Vulnerability Database (record CVE-2017-1000367), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.