---
title: "CVE-2017-1000368\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2017-1000368?format=md
keywords: index, follow
---

# CVE-2017-1000368

Publication date 5 June 2017

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**8.2 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2017-1000368?format=md#impact-score)

Toggle side navigation

## Description

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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| sudo | 19.04 disco | Fixed 1.8.20p2-1ubuntu1 |
| 18.10 cosmic | Fixed 1.8.20p2-1ubuntu1 |
| 18.04 LTS bionic | Fixed 1.8.20p2-1ubuntu1 |
| 17.10 artful | Fixed 1.8.20p2-1ubuntu1 |
| 17.04 zesty | Ignored end of life |
| 16.10 yakkety | Ignored end of life |
| 16.04 LTS xenial | Fixed 1.8.16-0ubuntu1.6 |
| 14.04 LTS trusty | Fixed 1.8.9p5-1ubuntu1.5+esm1  Ubuntu Pro |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2017-1000368?format=md#patch-details)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| sudo | * Upstream:   <https://www.sudo.ws/repos/sudo/raw-rev/15a46f4007dd> |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

8.2 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | Low |
  | Privileges required | High |
  | User interaction | None |
  | Scope | Changed |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.2 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000368)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2017-1000368)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2017-1000368)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2017-1000368)

### Related Ubuntu Security Notices (USN)

+ [USN-3968-1](https://usn.ubuntu.com/USN-3968-1)
+ Sudo vulnerabilities
+ 6 May 2019

+ [USN-3968-2](https://usn.ubuntu.com/USN-3968-2)
+ Sudo vulnerability
+ 29 May 2019

### Other references

* <http://www.openwall.com/lists/oss-security/2017/06/02/7>
* <https://www.sudo.ws/alerts/linux_tty.html>
* <https://www.cve.org/CVERecord?id=CVE-2017-1000368>
