Skip to content
Fencer Vulns
medium 6.4

CVE-2017-1000367 json

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 2017-06-05 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-1526

cvss
6.4
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
8.1%
EPSS 8.1% chance of exploitation in 30 days, percentile 94%
public exploits
1
Exploit-DB

Summary

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.

Patch / fix

  • sudo Debian 14, Debian 13, Debian 12 1.8.20p1-1

debian advisories DEBIAN-CVE-2017-1000367

  • sudo Ubuntu 14.04 LTS 1.8.9p5-1ubuntu1.4
  • sudo Ubuntu 16.04 LTS 1.8.16-0ubuntu1.4

ubuntu advisories UBUNTU-CVE-2017-1000367

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • sudo RHEL 6 1.8.6p3-28.el6_9
  • sudo RHEL 7 1.8.6p7-22.el7_3
  • sudo RHEL 5 ELS 1.7.2p1-30.el5_11

red hat advisories RHSA-2017:1381RHSA-2017:1382

  • sudo SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2, SLES 12 SP2 +2 more 1.8.10p3-10.5.1
  • sudo SLES for SAP 12 SP1, SLES for SAP 12, SLES 12-LTSS +3 more 1.8.10p3-2.11.1

suse advisories SUSE-SU-2017:1450-1SUSE-SU-2017:1446-1

  • sudo openSUSE Tumbleweed 1.9.7p2-1.4

opensuse advisories openSUSE-SU-2024:11413-1

  • sudo Arch Linux 1.8.20.p1-1

arch linux advisories AVG-282

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-1000367 updated cvss 7.8

sudo: Privilege escalation in via improper get_process_ttyname() parsing

  • Red Hat Enterprise Linux Client (v. 7) sudo 1.8.6p7-22.el7_3 Red Hat Enterprise Linux Client Optional (v. 7) sudo 1.8.6p7-22.el7_3 Red Hat Enterprise Linux ComputeNode (v. 7) sudo 1.8.6p7-22.el7_3 Red Hat Enterprise Linux ComputeNode Optional (v. 7) sudo 1.8.6p7-22.el7_3 Red Hat Enterprise Linux Desktop (v. 6) sudo 1.8.6p3-28.el6_9 Red Hat Enterprise Linux Desktop Optional (v. 6) sudo 1.8.6p3-28.el6_9
    +2 more products
    Red Hat Enterprise Linux HPC Node (v. 6) sudo 1.8.6p3-28.el6_9 Red Hat Enterprise Linux HPC Node Optional (v. 6) sudo 1.8.6p3-28.el6_9
    fixed: vendor fix RHSA-2017:1382
  • Red Hat Enterprise Linux Server (v. 5 ELS) sudo 1.7.2p1-30.el5_11
    fixed: vendor fix RHSA-2017:1381
  • Red Hat Enterprise Linux Server (v. 6) sudo 1.8.6p3-28.el6_9 Red Hat Enterprise Linux Server (v. 7) sudo 1.8.6p7-22.el7_3 Red Hat Enterprise Linux Server Optional (v. 6) sudo 1.8.6p3-28.el6_9 Red Hat Enterprise Linux Server Optional (v. 7) sudo 1.8.6p7-22.el7_3 Red Hat Enterprise Linux Workstation (v. 6) sudo 1.8.6p3-28.el6_9 Red Hat Enterprise Linux Workstation (v. 7) sudo 1.8.6p7-22.el7_3
    +2 more products
    Red Hat Enterprise Linux Workstation Optional (v. 6) sudo 1.8.6p3-28.el6_9 Red Hat Enterprise Linux Workstation Optional (v. 7) sudo 1.8.6p7-22.el7_3
    fixed: vendor fix RHSA-2017:1382

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. Published
  2. First public exploit (EDB-42183)

Exploit prediction

8.07% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • EDB-42183 Sudo 1.8.20 - 'get_process_ttyname()' Local Privilege Escalation local, 2017-06-14
  • packetstormsecurity.com http://packetstormsecurity.com/files/142783/Sudo-get_process_ttyname-Race-Condition.html referenced PoC, tagged "exploit" by a source, unverified
  • openwall.com http://www.openwall.com/lists/oss-security/2017/05/30/16 referenced PoC, tagged "exploit" by a source, unverified
  • securitytracker.com http://www.securitytracker.com/id/1038582 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 6.4 CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.9 AV:L/AC:M/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.