Skip to content
Fencer Vulns
high 8.2

CVE-2017-1000368 json

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

published 2017-06-05 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-1527

cvss
8.2
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 47%
public exploits
0
none known

Summary

Todd Miller's sudo version 1.8.20p1 and earlier is vulnerable to an input validation (embedded newlines) 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.1

debian advisories DEBIAN-CVE-2017-1000368

  • sudo Ubuntu 16.04 LTS 1.8.16-0ubuntu1.6
  • sudo Ubuntu 18.04 LTS 1.8.20p2-1ubuntu1
  • sudo Ubuntu Pro 14.04 LTS 1.8.9p5-1ubuntu1.5+esm1

ubuntu advisories UBUNTU-CVE-2017-1000368

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-29.el6_9
  • sudo RHEL 7 1.8.6p7-23.el7_3
  • sudo RHEL 5 ELS 1.7.2p1-31.el5_11

red hat advisories RHSA-2017:1574

  • sudo SLES for SAP 12 SP1, SLES for SAP 12, SLES 12-LTSS +2 more 1.8.10p3-2.19.1
  • sudo SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2, SLES 12 SP2 +2 more 1.8.10p3-10.13.1
  • sudo SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2, SLES 12 SP2 +2 more 1.8.10p3-10.10.2
  • sudo SLES for SAP 12 SP1, SLES for SAP 12, SLES 12-LTSS +2 more 1.8.10p3-2.16.1

suse advisories SUSE-SU-2017:1778-1SUSE-SU-2017:1771-1SUSE-SU-2017:1626-1SUSE-SU-2017:1627-1

  • sudo openSUSE Tumbleweed 1.9.7p2-1.4

opensuse advisories openSUSE-SU-2024:11413-1

  • sudo Alpine 3.24, Alpine 3.23, Alpine 3.22 +15 more 1.8.20_p2-r0

alpine advisories ALPINE-CVE-2017-1000368

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

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-1000368 updated cvss 7.3

sudo: Privilege escalation via improper get_process_ttyname() parsing (insufficient fix for CVE-2017-1000367)

  • Red Hat Enterprise Linux Client (v. 7) sudo 1.8.6p7-23.el7_3 Red Hat Enterprise Linux Client Optional (v. 7) sudo 1.8.6p7-23.el7_3 Red Hat Enterprise Linux ComputeNode (v. 7) sudo 1.8.6p7-23.el7_3 Red Hat Enterprise Linux ComputeNode Optional (v. 7) sudo 1.8.6p7-23.el7_3 Red Hat Enterprise Linux Desktop (v. 6) sudo 1.8.6p3-29.el6_9 Red Hat Enterprise Linux Desktop Optional (v. 6) sudo 1.8.6p3-29.el6_9
    +11 more products
    Red Hat Enterprise Linux HPC Node (v. 6) sudo 1.8.6p3-29.el6_9 Red Hat Enterprise Linux HPC Node Optional (v. 6) sudo 1.8.6p3-29.el6_9 Red Hat Enterprise Linux Server (v. 5 ELS) sudo 1.7.2p1-31.el5_11 Red Hat Enterprise Linux Server (v. 6) sudo 1.8.6p3-29.el6_9 Red Hat Enterprise Linux Server (v. 7) sudo 1.8.6p7-23.el7_3 Red Hat Enterprise Linux Server Optional (v. 6) sudo 1.8.6p3-29.el6_9 Red Hat Enterprise Linux Server Optional (v. 7) sudo 1.8.6p7-23.el7_3 Red Hat Enterprise Linux Workstation (v. 6) sudo 1.8.6p3-29.el6_9 Red Hat Enterprise Linux Workstation (v. 7) sudo 1.8.6p7-23.el7_3 Red Hat Enterprise Linux Workstation Optional (v. 6) sudo 1.8.6p3-29.el6_9 Red Hat Enterprise Linux Workstation Optional (v. 7) sudo 1.8.6p7-23.el7_3
    fixed: vendor fix RHSA-2017:1574

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

Exploit prediction

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

CVSS scores

assigned by version score vector
NVD 3.0 8.2 CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
NVD 2.0 7.2 AV:L/AC:L/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-20 Improper Input Validation

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.