Every CVE Search/ Get API key

CVE-2017-1000368

Todd Miller's sudo version 1.8.20p1 and earlier is vulnerable to an input validation (embedded...

8.2 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
High
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.57%Down 11.2 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 8.2

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.

Record
CVE-2017-1000368
CVSS 3.0
8.2 HighCVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS 2.0
7.2 HighAV:L/AC:L/Au:N/C:C/I:C/A:C
Weakness
CWE-20
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2017-1000368
Updated
2026-11-02
EUVDEUVD-2017-1527 No score

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.

Record
EUVD-2017-1527
Updated
2026-11-03
GitHub AdvisoriesGHSA-v7hw-ff58-vxfm 8.2

Todd Miller's sudo version 1.8.20p1 and earlier is vulnerable to an input validation (embedded...

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.

Record
GHSA-v7hw-ff58-vxfm
CVSS 3.0
8.2 HighCVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-20
Updated
2026-11-02
OSVALPINE-CVE-2017-1000368 8.2

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.

Record
ALPINE-CVE-2017-1000368
CVSS 3.0
8.2 HighCVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVBELL-CVE-2017-1000368 8.2

CVE-2017-1000368 does not affect BellSoft software

Record
BELL-CVE-2017-1000368
CVSS 3.0
8.2 HighCVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
Show 11 moreShow less
OSV 8.2

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.

Record
CVE-2017-1000368
CVSS 3.0
8.2 HighCVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2017-1000368 8.2

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.

Record
DEBIAN-CVE-2017-1000368
CVSS 3.0
8.2 HighCVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2017:1574 7.3

Red Hat Security Advisory: sudo security update

Record
RHSA-2017:1574
CVSS 3.0
7.3 HighCVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2017-1000368 8.2

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.

Record
UBUNTU-CVE-2017-1000368
CVSS 3.0
8.2 HighCVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2024:11413-1 No score

sudo-1.9.7p2-1.4 on GA media

These are all security issues fixed in the sudo-1.9.7p2-1.4 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11413-1
Updated
2026-11-02
OSVSUSE-SU-2017:1626-1 No score

Security update for sudo

This update for sudo fixes the following security issue:

  • CVE-2017-1000368: A follow-up fix to CVE-2017-1000367, the Linux process name could also contain a newline, which could be used to trick sudo to read/write to an arbitrary open terminal. (bsc#1042146)

Also the following non security bug was fixed:

  • Link the 'system_group' plugin with sudo_util library to resolve the missing sudo_dso_findsym symbol (bsc#1034560)
Record
SUSE-SU-2017:1626-1
Updated
2026-11-02
OSVSUSE-SU-2017:1627-1 No score

Security update for sudo

This update for sudo fixes the following issues:

  • CVE-2017-1000368: A follow-up fix to CVE-2017-1000367, the Linux process name could also contain a newline, which could be used to trick sudo to read/write to an arbitrary open terminal. (bsc#1042146)

Also the following non security bug was fixed:

  • Link the 'system_group' plugin with sudo_util library to resolve the missing sudo_dso_findsym symbol (bsc#1034560)
Record
SUSE-SU-2017:1627-1
Updated
2026-11-02
OSVSUSE-SU-2017:1771-1 No score

Security update for sudo

This update for sudo fixes the following issues:

  • A regression in the fix for the CVE-2017-1000368 that broke sudo with the 'requiretty' flag (bsc#1045986)
Record
SUSE-SU-2017:1771-1
Updated
2026-11-02
OSVSUSE-SU-2017:1778-1 No score

Security update for sudo

This update for sudo fixes the following issues:

  • A regression in the fix for the CVE-2017-1000368 that broke sudo with the 'requiretty' flag (bsc#1045986)
Record
SUSE-SU-2017:1778-1
Updated
2026-11-02
OSVUSN-3968-1 No score

sudo vulnerabilities

Florian Weimer discovered that Sudo incorrectly handled the noexec restriction when used with certain applications. A local attacker could possibly use this issue to bypass configured restrictions and execute arbitrary commands. (CVE-2016-7076)

It was discovered that Sudo did not properly parse the contents of /proc/[pid]/stat when attempting to determine its controlling tty. A local attacker in some configurations could possibly use this to overwrite any file on the filesystem, bypassing intended permissions. (CVE-2017-1000368)

Record
USN-3968-1
Updated
2026-11-02
OSVUSN-3968-2 No score

sudo vulnerability

USN-3968-1 fixed a vulnerability in Sudo. This update provides the corresponding update for Ubuntu 14.04 ESM.

Original advisory details:

It was discovered that Sudo did not properly parse the contents of /proc/[pid]/stat when attempting to determine its controlling tty. A local attacker in some configurations could possibly use this to overwrite any file on the filesystem, bypassing intended permissions. (CVE-2017-1000368)

Record
USN-3968-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
sudo
Alpine:v3.10
before 1.8.20_p2-r0
1.8.20_p2-r0
sudo
Alpine:v3.11
before 1.8.20_p2-r0
1.8.20_p2-r0
sudo
Alpine:v3.12
before 1.8.20_p2-r0
1.8.20_p2-r0
sudo
Alpine:v3.13
before 1.8.20_p2-r0
1.8.20_p2-r0
sudo
Alpine:v3.14
before 1.8.20_p2-r0
1.8.20_p2-r0
sudo
Alpine:v3.15
before 1.8.20_p2-r0
1.8.20_p2-r0
sudo
Alpine:v3.7
before 1.8.20_p2-r0
1.8.20_p2-r0
sudo
Alpine:v3.8
before 1.8.20_p2-r0
1.8.20_p2-r0
sudo
Alpine:v3.9
before 1.8.20_p2-r0
1.8.20_p2-r0
sudo
Debian:12
before 1.8.20p1-1.1
1.8.20p1-1.1
Show 54 moreShow less
Affected packages
PackageAffectedFixed
sudo
Debian:13
before 1.8.20p1-1.1
1.8.20p1-1.1
sudo
Debian:14
before 1.8.20p1-1.1
1.8.20p1-1.1
sudo
Debian:7
before 1.8.5p2-1+nmu3+deb7u4, plus listed versions
1.8.5p2-1+nmu11.8.5p2-1+nmu21.8.5p2-1+nmu31.8.5p2-1+nmu3+deb7u11.8.5p2-1+nmu3+deb7u21.8.5p2-1+nmu3+deb7u3
1.8.5p2-1+nmu3+deb7u4
sudo
Red Hat:rhel_els:5
before 0:1.7.2p1-31.el5_11
0:1.7.2p1-31.el5_11
sudo-debuginfo
Red Hat:rhel_els:5
before 0:1.7.2p1-31.el5_11
0:1.7.2p1-31.el5_11
sudo
Red Hat:enterprise_linux:6::client
before 0:1.8.6p3-29.el6_9
0:1.8.6p3-29.el6_9
sudo-debuginfo
Red Hat:enterprise_linux:6::client
before 0:1.8.6p3-29.el6_9
0:1.8.6p3-29.el6_9
sudo-devel
Red Hat:enterprise_linux:6::client
before 0:1.8.6p3-29.el6_9
0:1.8.6p3-29.el6_9
sudo
Red Hat:enterprise_linux:6::computenode
before 0:1.8.6p3-29.el6_9
0:1.8.6p3-29.el6_9
sudo-debuginfo
Red Hat:enterprise_linux:6::computenode
before 0:1.8.6p3-29.el6_9
0:1.8.6p3-29.el6_9
sudo-devel
Red Hat:enterprise_linux:6::computenode
before 0:1.8.6p3-29.el6_9
0:1.8.6p3-29.el6_9
sudo
Red Hat:enterprise_linux:6::server
before 0:1.8.6p3-29.el6_9
0:1.8.6p3-29.el6_9
sudo-debuginfo
Red Hat:enterprise_linux:6::server
before 0:1.8.6p3-29.el6_9
0:1.8.6p3-29.el6_9
sudo-devel
Red Hat:enterprise_linux:6::server
before 0:1.8.6p3-29.el6_9
0:1.8.6p3-29.el6_9
sudo
Red Hat:enterprise_linux:6::workstation
before 0:1.8.6p3-29.el6_9
0:1.8.6p3-29.el6_9
sudo-debuginfo
Red Hat:enterprise_linux:6::workstation
before 0:1.8.6p3-29.el6_9
0:1.8.6p3-29.el6_9
sudo-devel
Red Hat:enterprise_linux:6::workstation
before 0:1.8.6p3-29.el6_9
0:1.8.6p3-29.el6_9
sudo
Red Hat:enterprise_linux:7::client
before 0:1.8.6p7-23.el7_3
0:1.8.6p7-23.el7_3
sudo-debuginfo
Red Hat:enterprise_linux:7::client
before 0:1.8.6p7-23.el7_3
0:1.8.6p7-23.el7_3
sudo-devel
Red Hat:enterprise_linux:7::client
before 0:1.8.6p7-23.el7_3
0:1.8.6p7-23.el7_3
sudo
Red Hat:enterprise_linux:7::computenode
before 0:1.8.6p7-23.el7_3
0:1.8.6p7-23.el7_3
sudo-debuginfo
Red Hat:enterprise_linux:7::computenode
before 0:1.8.6p7-23.el7_3
0:1.8.6p7-23.el7_3
sudo-devel
Red Hat:enterprise_linux:7::computenode
before 0:1.8.6p7-23.el7_3
0:1.8.6p7-23.el7_3
sudo
Red Hat:enterprise_linux:7::server
before 0:1.8.6p7-23.el7_3
0:1.8.6p7-23.el7_3
sudo-debuginfo
Red Hat:enterprise_linux:7::server
before 0:1.8.6p7-23.el7_3
0:1.8.6p7-23.el7_3
sudo-devel
Red Hat:enterprise_linux:7::server
before 0:1.8.6p7-23.el7_3
0:1.8.6p7-23.el7_3
sudo
Red Hat:enterprise_linux:7::workstation
before 0:1.8.6p7-23.el7_3
0:1.8.6p7-23.el7_3
sudo-debuginfo
Red Hat:enterprise_linux:7::workstation
before 0:1.8.6p7-23.el7_3
0:1.8.6p7-23.el7_3
sudo-devel
Red Hat:enterprise_linux:7::workstation
before 0:1.8.6p7-23.el7_3
0:1.8.6p7-23.el7_3
sudo
SUSE:Linux Enterprise Desktop 12 SP2
before 1.8.10p3-10.10.2
1.8.10p3-10.10.2
sudo
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
before 1.8.10p3-10.10.2
1.8.10p3-10.10.2
sudo
SUSE:Linux Enterprise Software Development Kit 12 SP2
before 1.8.10p3-10.10.2
1.8.10p3-10.10.2
sudo
SUSE:Linux Enterprise Server 12 SP2
before 1.8.10p3-10.10.2
1.8.10p3-10.10.2
sudo
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 1.8.10p3-10.10.2
1.8.10p3-10.10.2
sudo
SUSE:OpenStack Cloud 6
before 1.8.10p3-2.16.1
1.8.10p3-2.16.1
sudo
SUSE:Linux Enterprise Server for SAP Applications 12
before 1.8.10p3-2.16.1
1.8.10p3-2.16.1
sudo
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
before 1.8.10p3-2.16.1
1.8.10p3-2.16.1
sudo
SUSE:Linux Enterprise Server 12-LTSS
before 1.8.10p3-2.16.1
1.8.10p3-2.16.1
sudo
SUSE:Linux Enterprise Server 12 SP1-LTSS
before 1.8.10p3-2.16.1
1.8.10p3-2.16.1
sudo
SUSE:Linux Enterprise Desktop 12 SP2
before 1.8.10p3-10.13.1
1.8.10p3-10.13.1
sudo
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
before 1.8.10p3-10.13.1
1.8.10p3-10.13.1
sudo
SUSE:Linux Enterprise Software Development Kit 12 SP2
before 1.8.10p3-10.13.1
1.8.10p3-10.13.1
sudo
SUSE:Linux Enterprise Server 12 SP2
before 1.8.10p3-10.13.1
1.8.10p3-10.13.1
sudo
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 1.8.10p3-10.13.1
1.8.10p3-10.13.1
sudo
SUSE:OpenStack Cloud 6
before 1.8.10p3-2.19.1
1.8.10p3-2.19.1
sudo
SUSE:Linux Enterprise Server for SAP Applications 12
before 1.8.10p3-2.19.1
1.8.10p3-2.19.1
sudo
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
before 1.8.10p3-2.19.1
1.8.10p3-2.19.1
sudo
SUSE:Linux Enterprise Server 12-LTSS
before 1.8.10p3-2.19.1
1.8.10p3-2.19.1
sudo
SUSE:Linux Enterprise Server 12 SP1-LTSS
before 1.8.10p3-2.19.1
1.8.10p3-2.19.1
sudo
Ubuntu:Pro:14.04:LTS
before 1.8.9p5-1ubuntu1.5+esm1, plus listed versions
1.8.6p3-0ubuntu31.8.8-2ubuntu11.8.8-2ubuntu21.8.9p4-1ubuntu11.8.9p4-1ubuntu2
Show 5 moreShow less
1.8.9p5-1ubuntu11.8.9p5-1ubuntu1.11.8.9p5-1ubuntu1.21.8.9p5-1ubuntu1.31.8.9p5-1ubuntu1.4
1.8.9p5-1ubuntu1.5+esm1
sudo
Ubuntu:16.04:LTS
before 1.8.16-0ubuntu1.6, plus listed versions
1.8.12-1ubuntu31.8.16-0ubuntu11.8.16-0ubuntu1.11.8.16-0ubuntu1.21.8.16-0ubuntu1.31.8.16-0ubuntu1.41.8.16-0ubuntu1.5
1.8.16-0ubuntu1.6
sudo
Ubuntu:18.04:LTS
before 1.8.20p2-1ubuntu1
1.8.20p2-1ubuntu1
sudo
Ubuntu:16.04:LTS
From an advisory covering 2 CVEs
before 1.8.16-0ubuntu1.6, plus listed versions
1.8.12-1ubuntu31.8.16-0ubuntu11.8.16-0ubuntu1.11.8.16-0ubuntu1.21.8.16-0ubuntu1.31.8.16-0ubuntu1.41.8.16-0ubuntu1.5
1.8.16-0ubuntu1.6
sudo
openSUSE:Tumbleweed
From an advisory covering 11 CVEs
before 1.9.7p2-1.4
1.9.7p2-1.4

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-1000368 is a high vulnerability (CVSS 8.2) in Sudo Project Sudo, published June 5, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.57%, the 47th percentile. Fixed in sudo 1.8.20_p2-r0.

References

Show 36 moreShow less
MoveEnter Open