Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2017-1000367: Todd Miller's sudo version 1.8.20 and earlier is vulnerable to an input validation (embedded spaces) in the get_process_ttyname() function…

MediumCVSS 6.4 · v3.0—Proof of concept Fix available

Noroxi assessment

Priority: Monitor (action score 27/100)

  • Public proof-of-concept code exists (Exploit-DB, GitHub); there is no record of exploitation in the wild.
  • Probability of exploitation in the next 30 days: 8% (FIRST EPSS); higher than 94.8% of all records.
  • 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.
  • Fixed version: sudo (Debian:12) 1.8.20p1-1; sudo (Debian:7) 1.8.5p2-1+nmu3+deb7u3; sudo (Debian:8) 1.8.10p3-1+deb8u4.

Low priority for now. Upgrade to sudo (Debian:12) 1.8.20p1-1; sudo (Debian:7) 1.8.5p2-1+nmu3+deb7u3; sudo (Debian:8) 1.8.10p3-1+deb8u4 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

Published
Jun 5, 2017
Updated
Jun 16, 2026
EPSS
8.0% · 94th percentile

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%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Proof of concept exists, no weaponized module
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2017-1000367

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

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
    78This 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…
    54Plan

Published before and after this one in the same product

  • ← EarlierCVE-2015-5602Nov 17, 2015 · sudoedit in Sudo before 1.8.15 allows local users to gain privileges via a symlink attack on a file whose full path is defined using…
    28Monitor
  • ← EarlierCVE-2014-9680Apr 24, 2017 · sudo before 1.8.12 does not ensure that the TZ environment variable is associated with a zoneinfo file, which allows local users to open…
    13Monitor
  • Later →CVE-2017-1000368Jun 5, 2017 · Todd Miller's sudo version 1.8.20p1 and earlier is vulnerable to an input validation (embedded newlines) in the get_process_ttyname()…
    32Monitor

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
Proof-of-concept repository on GitHub4 repositories2017-05-30 → 2025-10-17
Exploit-DB entrylocal2017-06-14

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. TodayNov 16, 2026+3451 d
EPSS, last 120 days

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

Not on record for this CVE: patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.

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.

References

All records