CVE-2017-1000367
publishedsudo: Privilege escalation in via improper get_process_ttyname() parsing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2019-1315 | Fixed | Not stated | Amazon Linux assessment |
| Debian | jessie | sudo | Advisory build | 1.8.10p3-1+deb8u4 | DSA-3867-1 |
| Oracle Linux | 6 | sudoi686 | Advisory build | 0:1.8.6p3-28.el6_9 | ELSA-2017-1382 |
| Red Hat Enterprise Linux | RHEL-5 | sudoi386 | Advisory build | 1.7.2p1-30.el5_11 | RHSA-2017:1381 |
| SUSE / openSUSE | SLE-12 | sudoppc64le | Advisory build | 1.8.10p3-2.11.1 | SUSE-SU-2017:1446-1 |
| Ubuntu | trusty | sudo | Advisory build | 1.8.9p5-1ubuntu1.4 | USN-3304-1 |
| Amazon Linux | AL2 | sudoaarch64 | Listed in advisory | Not stated | ALAS2-2019-1315 |
Show 91 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | wheezy | sudo | Advisory build | 1.8.5p2-1+nmu3+deb7u3 | DLA-970-1 |
| Oracle Linux | 6 | sudosparc64 | Advisory build | 0:1.8.6p3-28.el6_9 | ELSA-2017-1382 |
| Oracle Linux | 6 | sudox86_64 | Advisory build | 0:1.8.6p3-28.el6_9 | ELSA-2017-1382 |
| Oracle Linux | 6 | sudo-develi686 | Advisory build | 0:1.8.6p3-28.el6_9 | ELSA-2017-1382 |
| Oracle Linux | 6 | sudo-develsparc64 | Advisory build | 0:1.8.6p3-28.el6_9 | ELSA-2017-1382 |
| Oracle Linux | 6 | sudo-develx86_64 | Advisory build | 0:1.8.6p3-28.el6_9 | ELSA-2017-1382 |
| Oracle Linux | 7 | sudox86_64 | Advisory build | 0:1.8.6p7-22.el7_3 | ELSA-2017-1382 |
| Oracle Linux | 7 | sudo-develx86_64 | Advisory build | 0:1.8.6p7-22.el7_3 | ELSA-2017-1382 |
| Red Hat Enterprise Linux | RHEL-5 | sudos390x | Advisory build | 1.7.2p1-30.el5_11 | RHSA-2017:1381 |
| Red Hat Enterprise Linux | RHEL-5 | sudosrc | Advisory build | 1.7.2p1-30.el5_11 | RHSA-2017:1381 |
| Red Hat Enterprise Linux | RHEL-5 | sudox86_64 | Advisory build | 1.7.2p1-30.el5_11 | RHSA-2017:1381 |
| Red Hat Enterprise Linux | RHEL-5 | sudo-debuginfoi386 | Advisory build | 1.7.2p1-30.el5_11 | RHSA-2017:1381 |
| Red Hat Enterprise Linux | RHEL-5 | sudo-debuginfos390x | Advisory build | 1.7.2p1-30.el5_11 | RHSA-2017:1381 |
| Red Hat Enterprise Linux | RHEL-5 | sudo-debuginfox86_64 | Advisory build | 1.7.2p1-30.el5_11 | RHSA-2017:1381 |
| Red Hat Enterprise Linux | RHEL-6 | sudoi686 | Advisory build | 1.8.6p3-28.el6_9 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-6 | sudoppc64 | Advisory build | 1.8.6p3-28.el6_9 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-6 | sudos390x | Advisory build | 1.8.6p3-28.el6_9 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-6 | sudosrc | Advisory build | 1.8.6p3-28.el6_9 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-6 | sudox86_64 | Advisory build | 1.8.6p3-28.el6_9 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-6 | sudo-debuginfoi686 | Advisory build | 1.8.6p3-28.el6_9 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-6 | sudo-debuginfoppc | Advisory build | 1.8.6p3-28.el6_9 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-6 | sudo-debuginfoppc64 | Advisory build | 1.8.6p3-28.el6_9 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-6 | sudo-debuginfos390 | Advisory build | 1.8.6p3-28.el6_9 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-6 | sudo-debuginfos390x | Advisory build | 1.8.6p3-28.el6_9 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-6 | sudo-debuginfox86_64 | Advisory build | 1.8.6p3-28.el6_9 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-6 | sudo-develi686 | Advisory build | 1.8.6p3-28.el6_9 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-6 | sudo-develppc | Advisory build | 1.8.6p3-28.el6_9 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-6 | sudo-develppc64 | Advisory build | 1.8.6p3-28.el6_9 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-6 | sudo-devels390 | Advisory build | 1.8.6p3-28.el6_9 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-6 | sudo-devels390x | Advisory build | 1.8.6p3-28.el6_9 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-6 | sudo-develx86_64 | Advisory build | 1.8.6p3-28.el6_9 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-7 | sudoaarch64 | Advisory build | 1.8.6p7-22.el7_3 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-7 | sudoppc64 | Advisory build | 1.8.6p7-22.el7_3 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-7 | sudoppc64le | Advisory build | 1.8.6p7-22.el7_3 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-7 | sudos390x | Advisory build | 1.8.6p7-22.el7_3 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-7 | sudosrc | Advisory build | 1.8.6p7-22.el7_3 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-7 | sudox86_64 | Advisory build | 1.8.6p7-22.el7_3 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-7 | sudo-debuginfoaarch64 | Advisory build | 1.8.6p7-22.el7_3 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-7 | sudo-debuginfoi686 | Advisory build | 1.8.6p7-22.el7_3 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-7 | sudo-debuginfoppc | Advisory build | 1.8.6p7-22.el7_3 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-7 | sudo-debuginfoppc64 | Advisory build | 1.8.6p7-22.el7_3 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-7 | sudo-debuginfoppc64le | Advisory build | 1.8.6p7-22.el7_3 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-7 | sudo-debuginfos390 | Advisory build | 1.8.6p7-22.el7_3 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-7 | sudo-debuginfos390x | Advisory build | 1.8.6p7-22.el7_3 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-7 | sudo-debuginfox86_64 | Advisory build | 1.8.6p7-22.el7_3 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-7 | sudo-develaarch64 | Advisory build | 1.8.6p7-22.el7_3 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-7 | sudo-develi686 | Advisory build | 1.8.6p7-22.el7_3 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-7 | sudo-develppc | Advisory build | 1.8.6p7-22.el7_3 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-7 | sudo-develppc64 | Advisory build | 1.8.6p7-22.el7_3 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-7 | sudo-develppc64le | Advisory build | 1.8.6p7-22.el7_3 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-7 | sudo-devels390 | Advisory build | 1.8.6p7-22.el7_3 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-7 | sudo-devels390x | Advisory build | 1.8.6p7-22.el7_3 | RHSA-2017:1382 |
| Red Hat Enterprise Linux | RHEL-7 | sudo-develx86_64 | Advisory build | 1.8.6p7-22.el7_3 | RHSA-2017:1382 |
| SUSE / openSUSE | SLE-12 | sudos390x | Advisory build | 1.8.10p3-2.11.1 | SUSE-SU-2017:1446-1 |
| SUSE / openSUSE | SLE-12 | sudox86_64 | Advisory build | 1.8.10p3-2.11.1 | SUSE-SU-2017:1446-1 |
| SUSE / openSUSE | SLE-12-SP1 | sudoppc64le | Advisory build | 1.8.10p3-2.11.1 | SUSE-SU-2017:1446-1 |
| SUSE / openSUSE | SLE-12-SP1 | sudos390x | Advisory build | 1.8.10p3-2.11.1 | SUSE-SU-2017:1446-1 |
| SUSE / openSUSE | SLE-12-SP1 | sudox86_64 | Advisory build | 1.8.10p3-2.11.1 | SUSE-SU-2017:1446-1 |
| SUSE / openSUSE | SLE-12-SP1 | sudo-develppc64le | Advisory build | 1.8.10p3-2.11.1 | SUSE-SU-2017:1446-1 |
| SUSE / openSUSE | SLE-12-SP1 | sudo-devels390x | Advisory build | 1.8.10p3-2.11.1 | SUSE-SU-2017:1446-1 |
| SUSE / openSUSE | SLE-12-SP1 | sudo-develx86_64 | Advisory build | 1.8.10p3-2.11.1 | SUSE-SU-2017:1446-1 |
| SUSE / openSUSE | SLE-12-SP2 | sudoaarch64 | Advisory build | 1.8.10p3-10.5.1 | SUSE-SU-2017:1450-1 |
| SUSE / openSUSE | SLE-12-SP2 | sudoppc64le | Advisory build | 1.8.10p3-10.5.1 | SUSE-SU-2017:1450-1 |
| SUSE / openSUSE | SLE-12-SP2 | sudos390x | Advisory build | 1.8.10p3-10.5.1 | SUSE-SU-2017:1450-1 |
| SUSE / openSUSE | SLE-12-SP2 | sudox86_64 | Advisory build | 1.8.10p3-10.5.1 | SUSE-SU-2017:1450-1 |
| SUSE / openSUSE | SLE-12-SP2 | sudo-develaarch64 | Advisory build | 1.8.10p3-10.5.1 | SUSE-SU-2017:1450-1 |
| SUSE / openSUSE | SLE-12-SP2 | sudo-develppc64le | Advisory build | 1.8.10p3-10.5.1 | SUSE-SU-2017:1450-1 |
| SUSE / openSUSE | SLE-12-SP2 | sudo-devels390x | Advisory build | 1.8.10p3-10.5.1 | SUSE-SU-2017:1450-1 |
| SUSE / openSUSE | SLE-12-SP2 | sudo-develx86_64 | Advisory build | 1.8.10p3-10.5.1 | SUSE-SU-2017:1450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sudoaarch64 | Advisory build | 1.9.7p2-1.4 | OPENSUSE-SU-2024:11413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sudoppc64le | Advisory build | 1.9.7p2-1.4 | OPENSUSE-SU-2024:11413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sudos390x | Advisory build | 1.9.7p2-1.4 | OPENSUSE-SU-2024:11413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sudox86_64 | Advisory build | 1.9.7p2-1.4 | OPENSUSE-SU-2024:11413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sudo-develaarch64 | Advisory build | 1.9.7p2-1.4 | OPENSUSE-SU-2024:11413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sudo-develppc64le | Advisory build | 1.9.7p2-1.4 | OPENSUSE-SU-2024:11413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sudo-devels390x | Advisory build | 1.9.7p2-1.4 | OPENSUSE-SU-2024:11413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sudo-develx86_64 | Advisory build | 1.9.7p2-1.4 | OPENSUSE-SU-2024:11413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sudo-plugin-pythonaarch64 | Advisory build | 1.9.7p2-1.4 | OPENSUSE-SU-2024:11413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sudo-plugin-pythonppc64le | Advisory build | 1.9.7p2-1.4 | OPENSUSE-SU-2024:11413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sudo-plugin-pythons390x | Advisory build | 1.9.7p2-1.4 | OPENSUSE-SU-2024:11413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sudo-plugin-pythonx86_64 | Advisory build | 1.9.7p2-1.4 | OPENSUSE-SU-2024:11413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sudo-testaarch64 | Advisory build | 1.9.7p2-1.4 | OPENSUSE-SU-2024:11413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sudo-testppc64le | Advisory build | 1.9.7p2-1.4 | OPENSUSE-SU-2024:11413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sudo-tests390x | Advisory build | 1.9.7p2-1.4 | OPENSUSE-SU-2024:11413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sudo-testx86_64 | Advisory build | 1.9.7p2-1.4 | OPENSUSE-SU-2024:11413-1 |
| Ubuntu | trusty | sudo-ldap | Advisory build | 1.8.9p5-1ubuntu1.4 | USN-3304-1 |
| Ubuntu | xenial | sudo | Advisory build | 1.8.16-0ubuntu1.4 | USN-3304-1 |
| Ubuntu | xenial | sudo-ldap | Advisory build | 1.8.16-0ubuntu1.4 | USN-3304-1 |
| Amazon Linux | AL2 | sudoi686 | Listed in advisory | Not stated | ALAS2-2019-1315 |
| Amazon Linux | AL2 | sudosrc | Listed in advisory | Not stated | ALAS2-2019-1315 |
| Amazon Linux | AL2 | sudox86_64 | Listed in advisory | Not stated | ALAS2-2019-1315 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
18- SUSE-SU-2017:1446 http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00077.html
- SUSE-SU-2017:1450 http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00078.html
- openSUSE-SU-2017:1455 http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00079.html
- http://packetstormsecurity.com/files/142783/Sudo-get_process_ttyname-Race-Condition.html
- 20170602 Qualys Security Advisory - CVE-2017-1000367 in Sudo's get_process_ttyname() for Linux http://seclists.org/fulldisclosure/2017/Jun/3
- DSA-3867 http://www.debian.org/security/2017/dsa-3867
- [oss-security] 20170530 Qualys Security Advisory - CVE-2017-1000367 in Sudo's get_process_ttyname() for Linux http://www.openwall.com/lists/oss-security/2017/05/30/16
- [oss-security] 20221222 Re: [Linux] /proc/pid/stat parsing bugs http://www.openwall.com/lists/oss-security/2022/12/22/5
- [oss-security] 20221222 Re: [Linux] /proc/pid/stat parsing bugs http://www.openwall.com/lists/oss-security/2022/12/22/6
- 98745 http://www.securityfocus.com/bid/98745
- 1038582 http://www.securitytracker.com/id/1038582
- USN-3304-1 http://www.ubuntu.com/usn/USN-3304-1
- RHSA-2017:1381 https://access.redhat.com/errata/RHSA-2017:1381
- RHSA-2017:1382 https://access.redhat.com/errata/RHSA-2017:1382
- FEDORA-2017-54580efa82 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VXEXC4NNIG2QOZY6N2YUK246KI3D3UQO/
- GLSA-201705-15 https://security.gentoo.org/glsa/201705-15
- 42183 https://www.exploit-db.com/exploits/42183/
- https://www.sudo.ws/alerts/linux_tty.html
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 695838d67e49d4fe701bff0e25dc81921d4e99212c3238ceb6fcaa937e1eb4cc
- Ingested
- 23 Sep 2026, 07:41:47 UTC
- Source record
- Official CVE record