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.
02 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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 8.06% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 94.7% of scored records. A rank, not a probability.
- NVD base score
- 6.4 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2017-06-05 00:00Z9 YR AGO
- Last updated
- 2024-08-05 22:00Z2 YR AGO
- Reserved
- 2017-06-05
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.1
- Document digest
- 684368e86cee0d2653c7adee9bb86fbc87cbdc1e61600c13f8969b77499cb3ec
05 Affected products
06 References
- www.ubuntu.comUSN-3304-1http://www.ubuntu.com/usn/USN-3304-1
- security.gentoo.orgGLSA-201705-15https://security.gentoo.org/glsa/201705-15
- www.securityfocus.com98745http://www.securityfocus.com/bid/98745
- www.sudo.wshttps://www.sudo.ws/alerts/linux_tty.html
- seclists.org20170602 Qualys Security Advisory - CVE-2017-1000367 in Sudo's get_process_ttyname() for Linuxhttp://seclists.org/fulldisclosure/2017/Jun/3
- lists.fedoraproject.orgFEDORA-2017-54580efa82https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VXEXC4NNIG2QOZY6N2YUK246KI3D3UQO/
- access.redhat.comRHSA-2017:1382https://access.redhat.com/errata/RHSA-2017:1382
- packetstormsecurity.comhttp://packetstormsecurity.com/files/142783/Sudo-get_process_ttyname-Race-Condition.html
- lists.opensuse.orgSUSE-SU-2017:1446http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00077.html
- lists.opensuse.orgSUSE-SU-2017:1450http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00078.html
- www.debian.orgDSA-3867http://www.debian.org/security/2017/dsa-3867
- lists.opensuse.orgopenSUSE-SU-2017:1455http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00079.html
- www.exploit-db.com42183https://www.exploit-db.com/exploits/42183/
- www.openwall.com[oss-security] 20170530 Qualys Security Advisory - CVE-2017-1000367 in Sudo's get_process_ttyname() for Linuxhttp://www.openwall.com/lists/oss-security/2017/05/30/16
- access.redhat.comRHSA-2017:1381https://access.redhat.com/errata/RHSA-2017:1381
- www.securitytracker.com1038582http://www.securitytracker.com/id/1038582
- www.openwall.com[oss-security] 20221222 Re: [Linux] /proc/pid/stat parsing bugshttp://www.openwall.com/lists/oss-security/2022/12/22/5
- www.openwall.com[oss-security] 20221222 Re: [Linux] /proc/pid/stat parsing bugshttp://www.openwall.com/lists/oss-security/2022/12/22/6
07 Fixed in
Arch Linux
- sudo Fixed in 1.8.20.p1-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- sudo Fixed in 1.8.20p1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- sudo Fixed in 1.8.20p1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- sudo Fixed in 1.8.20p1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- sudo Fixed in 1.8.9p5-1ubuntu1.4
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- sudo Fixed in 1.8.16-0ubuntu1.4
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.