cve.bz

CVE-2017-1000368 sudo project sudo: Improper Input Validation

8.2 highEPSS 0.6%

High (8.2) in sudo project sudo. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

8.2 high
CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 48th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-1000368 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-1000368?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-1000368?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-1000368 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
sudo_project:sudothrough 1.8.20
sudo_project:sudo1.8.20:p1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7sudo1.8.5p2-1+nmu3+deb7u4DLA-1011-1
Debian12, 13, 14sudo1.8.20p1-1.1DEBIAN-CVE-2017-1000368
Ubuntu16.04:LTSsudo1.8.16-0ubuntu1.6UBUNTU-CVE-2017-1000368 USN-3968-1
Ubuntu18.04:LTSsudo1.8.20p2-1ubuntu1UBUNTU-CVE-2017-1000368
UbuntuPro:14.04:LTSsudo1.8.9p5-1ubuntu1.5+esm1UBUNTU-CVE-2017-1000368 USN-3968-2
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 moresudo, sudo-devel, sudo-debuginfo0:1.8.6p3-29.el6_9RHSA-2017:1574
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moresudo, sudo-devel, sudo-debuginfo0:1.8.6p7-23.el7_3RHSA-2017:1574
Red Hatrhel_els:5sudo, sudo-debuginfo0:1.7.2p1-31.el5_11RHSA-2017:1574
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Server 12 SP2, Linux Enterprise Server for Raspberry Pi 12 SP2 and 2 moresudo1.8.10p3-10.10.2SUSE-SU-2017:1626-1
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Server 12 SP2, Linux Enterprise Server for Raspberry Pi 12 SP2 and 2 moresudo1.8.10p3-10.13.1SUSE-SU-2017:1771-1
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server 12-LTSS, Linux Enterprise Server for SAP Applications 12 and 2 moresudo1.8.10p3-2.16.1SUSE-SU-2017:1627-1
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server 12-LTSS, Linux Enterprise Server for SAP Applications 12 and 2 moresudo1.8.10p3-2.19.1SUSE-SU-2017:1778-1
openSUSETumbleweedsudo1.9.7p2-1.4openSUSE-SU-2024:11413-1
Alpinev3.7, v3.8, v3.9 and 15 moresudo1.8.20_p2-r0ALPINE-CVE-2017-1000368

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5 Extended Lifecycle Supportsudo-0:1.7.2p1-31.el5_11Fixed 2017-06-22RHSA-2017:1574
Red Hat Enterprise Linux 6sudo-0:1.8.6p3-29.el6_9Fixed 2017-06-22RHSA-2017:1574
Red Hat Enterprise Linux 7sudo-0:1.8.6p7-23.el7_3Fixed 2017-06-22RHSA-2017:1574

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-1000368.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON