CVE-2017-1000367

Summary

CVECVE-2017-1000367
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2017-06-05 14:29:00 UTC
Updated2025-04-20 01:37:25 UTC
DescriptionTodd 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.

Risk And Classification

Primary CVSS: v3.0 6.4 MEDIUM from [email protected]

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

Problem Types: CWE-362 | n/a


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary6.4MEDIUMCVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
2.0[email protected]Primary6.9AV:L/AC:M/Au:N/C:C/I:C/A:C

CVSS v3.0 Breakdown

Attack Vector
Local
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Medium
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:L/AC:M/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Sudo Project Sudo All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Sudo 1.8.20 - 'get_process_ttyname()' Local Privilege Escalation - Linux local Exploit af854a3a-2127-422b-91ae-364da2661108 www.exploit-db.com Third Party Advisory, VDB Entry
USN-3304-1: Sudo vulnerability | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com Third Party Advisory
[security-announce] openSUSE-SU-2017:1455-1: important: Security update af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Third Party Advisory
oss-security - Qualys Security Advisory - CVE-2017-1000367 in Sudo's get_process_ttyname() for Linux af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Exploit, Mailing List, Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
Debian -- Security Information -- DSA-3867-1 sudo af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
Sudo get_process_ttyname() Race Condition ≈ Packet Storm af854a3a-2127-422b-91ae-364da2661108 packetstormsecurity.com Exploit, Third Party Advisory, VDB Entry
Full Disclosure: Qualys Security Advisory - CVE-2017-1000367 in Sudo's get_process_ttyname() for Linux af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
Potential file overwrite or tty access on Linux af854a3a-2127-422b-91ae-364da2661108 www.sudo.ws Vendor Advisory
oss-security - Re: [Linux] /proc/pid/stat parsing bugs af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
oss-security - Re: [Linux] /proc/pid/stat parsing bugs af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
Sudo '/src/ttyname.c' Local Privilege Escalation Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
[security-announce] SUSE-SU-2017:1450-1: important: Security update for af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
Sudo get_process_ttyname() Command Validation Flaw Lets Local Users Obtain Root Privileges - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com Exploit, Third Party Advisory, VDB Entry
sudo: Privilege escalation (GLSA 201705-15) — Gentoo Security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org Third Party Advisory
[security-announce] SUSE-SU-2017:1446-1: important: Security update for af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Third Party Advisory
[SECURITY] Fedora 25 Update: sudo-1.8.20p2-1.fc25 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
[SECURITY] Fedora 25 Update: sudo-1.8.20p2-1.fc25 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 378224 Virtuozzo Linux Security Update for sudo (VZLSA-2017:1382)
  • 390227 Oracle Managed Virtualization (VM) Server for x86 Security Update for sudo (OVMSA-2021-0012)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report