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.
https://security.gentoo.org/glsa/201710-04
https://kc.mcafee.com/corporate/index?page=content&id=SB10205
https://access.redhat.com/errata/RHSA-2017:1574
http://www.securityfocus.com/bid/98838
https://www.sudo.ws/alerts/linux_tty.html
https://usn.ubuntu.com/3968-2/
https://usn.ubuntu.com/3968-1/
Source: Mitre, NVD
Published: 2017-06-05
Updated: 2025-04-20
Base Score: 7.2
Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C
Severity: High
Base Score: 8.2
Vector: CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS: 0.0019