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.
https://www.sudo.ws/alerts/linux_tty.html
https://www.exploit-db.com/exploits/42183/
https://security.gentoo.org/glsa/201705-15
https://access.redhat.com/errata/RHSA-2017:1382
https://access.redhat.com/errata/RHSA-2017:1381
http://www.ubuntu.com/usn/USN-3304-1
http://www.securityfocus.com/bid/98745
http://www.openwall.com/lists/oss-security/2022/12/22/6
http://www.openwall.com/lists/oss-security/2022/12/22/5
http://www.debian.org/security/2017/dsa-3867
http://seclists.org/fulldisclosure/2017/Jun/3
http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00079.html
http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00078.html
http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00077.html