Skip to content
OpenAdvisories
Unscored Public exploit CVE-2017-1000367 EUVD-2017-1526GHSA-4c2x-g299-mpv8

Todd Miller's sudo version 1.8.20 and earlier is vulnerable to an input validation (embedded spaces) in the get_process_ttyname() function …

Published Jun 5, 2017 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 sudo 1.8.20p1-1 —
Debian 13 sudo 1.8.20p1-1 —
Debian 12 sudo 1.8.20p1-1 —
Debian 8 sudo 1.8.10p3-1+deb8u4 DSA-3867-1
Debian 7 sudo 1.8.5p2-1+nmu3+deb7u3 DLA-970-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS sudo 1.8.16-0ubuntu1.4 USN-3304-1
Ubuntu 14.04 LTS sudo 1.8.9p5-1ubuntu1.4 USN-3304-1
ReleasePackageFixed inAdvisory
RHEL 7 sudo +1 1.8.6p7-22.el7_3 RHSA-2017:1382
RHEL 6 sudo +1 1.8.6p3-28.el6_9 RHSA-2017:1382
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 5 ELS sudo 1.7.2p1-30.el5_11 RHSA-2017:1381
ReleasePackageFixed inAdvisory
SLES 12 SP2 sudo 1.8.10p3-10.5.1 SUSE-SU-2017:1450-1
SLES 12 SP1 sudo 1.8.10p3-2.11.1 SUSE-SU-2017:1446-1
SLES 12 sudo 1.8.10p3-2.11.1 SUSE-SU-2017:1446-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP2 sudo 1.8.10p3-10.5.1 SUSE-SU-2017:1450-1
SLES for SAP 12 SP1 sudo 1.8.10p3-2.11.1 SUSE-SU-2017:1446-1
SLES for SAP 12 sudo 1.8.10p3-2.11.1 SUSE-SU-2017:1446-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed sudo 1.9.7p2-1.4 openSUSE-SU-2024:11413-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 sudo +1 1.8.23-4.amzn2.0.1 ALAS2-2019-1315

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 sudo +1 1.8.6p7-22.el7_3 ELSA-2017-1382

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

GitHub 4 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 10

References