cve.bz

CVE-2017-1000367 (Stack Clash) sudo project sudo: Race Condition

6.4 mediumExploitEPSS 8.1%

Known as Stack Clash

Medium (6.4) in sudo project sudo. EPSS 8.1% estimated probability of exploitation activity in the next 30 days.

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

Severity

CVSS 3.0

6.4 medium
CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS
8.1% (unchanged from 8.1% a week ago; 8.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A06:2025 Insecure Design
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-1000367 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-1000367?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-1000367?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-1000367 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

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7sudo1.8.5p2-1+nmu3+deb7u3DLA-970-1
Debian8sudo1.8.10p3-1+deb8u4DSA-3867-1
Debian12, 13, 14sudo1.8.20p1-1DEBIAN-CVE-2017-1000367
Ubuntu14.04:LTSsudo1.8.9p5-1ubuntu1.4UBUNTU-CVE-2017-1000367 USN-3304-1
Ubuntu16.04:LTSsudo1.8.16-0ubuntu1.4UBUNTU-CVE-2017-1000367 USN-3304-1
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 moresudo, sudo-devel, sudo-debuginfo0:1.8.6p3-28.el6_9RHSA-2017:1382
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moresudo, sudo-devel, sudo-debuginfo0:1.8.6p7-22.el7_3RHSA-2017:1382
Red Hatrhel_els:5sudo, sudo-debuginfo0:1.7.2p1-30.el5_11RHSA-2017:1381
SUSELinux Enterprise Desktop 12 SP1, Linux Enterprise Server 12 SP1, Linux Enterprise Server 12-LTSS and 3 moresudo1.8.10p3-2.11.1SUSE-SU-2017:1446-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.5.1SUSE-SU-2017:1450-1
openSUSETumbleweedsudo1.9.7p2-1.4openSUSE-SU-2024:11413-1

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5 Extended Lifecycle Supportsudo-0:1.7.2p1-30.el5_11Fixed 2017-05-30RHSA-2017:1381
Red Hat Enterprise Linux 6sudo-0:1.8.6p3-28.el6_9Fixed 2017-05-30RHSA-2017:1382
Red Hat Enterprise Linux 7sudo-0:1.8.6p7-22.el7_3Fixed 2017-05-30RHSA-2017:1382

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-1000367.

Public exploits

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON