Skip to content
Noroxi
CVE-2017-1000367· NVD / CVE Program· CNA mitre

Todd Miller's sudo version 1.8.20 and earlier is vulnerable to an input validation (embedded spaces) in the get_process_ttyname() function r

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.

MediumCVSS 6.4 · v3.0—Proof of concept Fix available
Published
Jun 5, 2017
Updated
Jun 16, 2026
EPSS
8.0% · 95th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

27

Monitor

Low priority for now.

CVSS
25 / 40 · 6.4 / 10
CISA KEV
0 / 30 · Not listed
EPSS
2 / 30 · 8.0%

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Affected systems

VendorProduct
sudo projectsudo

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • sudo project sudoup to 1.8.20 inclusive

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12sudobefore 1.8.20p1-11.8.20p1-1
Debian:7sudobefore 1.8.5p2-1+nmu3+deb7u31.8.5p2-1+nmu3+deb7u3
Debian:8sudobefore 1.8.10p3-1+deb8u41.8.10p3-1+deb8u4
openSUSE:Tumbleweedsudobefore 1.9.7p2-1.41.9.7p2-1.4
Red Hat:enterprise_linux:6::clientsudobefore 0:1.8.6p3-28.el6_90:1.8.6p3-28.el6_9
Red Hat:enterprise_linux:6::clientsudo-debuginfobefore 0:1.8.6p3-28.el6_90:1.8.6p3-28.el6_9
Red Hat:enterprise_linux:6::clientsudo-develbefore 0:1.8.6p3-28.el6_90:1.8.6p3-28.el6_9
Red Hat:enterprise_linux:7::clientsudobefore 0:1.8.6p7-22.el7_30:1.8.6p7-22.el7_3
Red Hat:enterprise_linux:7::clientsudo-debuginfobefore 0:1.8.6p7-22.el7_30:1.8.6p7-22.el7_3
Red Hat:enterprise_linux:7::clientsudo-develbefore 0:1.8.6p7-22.el7_30:1.8.6p7-22.el7_3
Red Hat:rhel_els:5sudobefore 0:1.7.2p1-30.el5_110:1.7.2p1-30.el5_11
Red Hat:rhel_els:5sudo-debuginfobefore 0:1.7.2p1-30.el5_110:1.7.2p1-30.el5_11
SUSE:Linux Enterprise Desktop 12 SP1sudobefore 1.8.10p3-2.11.11.8.10p3-2.11.1
SUSE:Linux Enterprise Desktop 12 SP2sudobefore 1.8.10p3-10.5.11.8.10p3-10.5.1

Other highest-scoring records for the same primary product.

  • CVE-2021-3156Sudo before 1.9.5p2 contains an off-by-one error that can result in a heap-based buffer overflow, which allows privilege escalation to root KEV
    91Now
  • CVE-2025-32463Sudo before 1.9.17p1 allows local users to obtain root access because /etc/nsswitch.conf from a user-controlled directory is used with the -KEV
    79This week
  • CVE-2019-14287In Sudo before 1.8.28, an attacker with access to a Runas ALL sudoer account can bypass certain policy blacklists and session PAM modules, a
    54Plan
  • CVE-2023-22809In Sudo before 1.9.12p2, the sudoedit (aka -e) feature mishandles extra arguments passed in the user-provided environment variables (SUDO_ED
    48Plan
  • CVE-2019-18634In Sudo before 1.8.26, if pwfeedback is enabled in /etc/sudoers, users can trigger a stack-based buffer overflow in the privileged sudo proc
    37Monitor
  • CVE-2025-32462Sudo before 1.9.17p1, when used with a sudoers file that specifies a host that is neither the current host nor ALL, allows listed users to e
    36Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:sudo1.8.20p1-1 · Debian:12Package registry (OSV)
opensuse:sudo1.9.7p2-1.4 · openSUSE:TumbleweedPackage registry (OSV)
red hat:sudo0:1.7.2p1-30.el5_11 · Red Hat:rhel_els:5Package registry (OSV)
red hat:sudo-debuginfo0:1.7.2p1-30.el5_11 · Red Hat:rhel_els:5Package registry (OSV)
red hat:sudo-devel0:1.8.6p3-28.el6_9 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
suse:sudo1.8.10p3-2.11.1 · SUSE:Linux Enterprise Desktop 12 SP1Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Exploit-DB entry ×1
  • Proof-of-concept repository on GitHub ×4

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entrylocal2017-06-14
Proof-of-concept repository on GitHubstars:1142017-05-30
Proof-of-concept repository on GitHubstars:12017-06-04
Proof-of-concept repository on GitHubstars:62017-06-08
Proof-of-concept repository on GitHubstars:02025-10-17

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoC-6 d
  2. Published
  3. TodaySep 30, 2026+3405 d
EPSS, last 120 days+1% in 7 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • Administrator privileges are required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
High
Privileges required
High
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

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

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records