CVE-2017-1000368: Input Validation
Last updated 25 August 2025
Other sources
Todd Miller's sudo version 1.8.20p1 and earlier is vulnerable to an input validation (embedded newlines) in the getprocessttyname() function resulting in information disclosure and command execution.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/sudoto a version that resolves this vulnerability.Fixed in 1.8.20 - Upgrade
Upgrade
debian/sudoto a version that resolves this vulnerability.Fixed in 1.9.5p2-3+deb11u1Fixed in 1.9.5p2-3+deb11u3Fixed in 1.9.13p3-1+deb12u3Fixed in 1.9.13p3-1+deb12u2Fixed in 1.9.16p2-3+deb13u1Fixed in 1.9.17p2-4 - Upgrade
Upgrade
alpine/sudoto a version that resolves this vulnerability.Fixed in 1.8.20_p2-r0
Event History
Frequently Asked Questions
What is the vulnerability ID for this security issue?
The vulnerability ID for this security issue is CVE-2017-1000368.
What is the title of this vulnerability?
The title of this vulnerability is '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.'
What is the severity of CVE-2017-1000368?
The severity of CVE-2017-1000368 is high with a CVSS score of 8.2.
What software versions are affected by this vulnerability?
Sudo version 1.8.20p1 and earlier are affected by this vulnerability.
How can I fix CVE-2017-1000368?
To fix CVE-2017-1000368, update to sudo version 1.8.20 or higher.