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.
http://www.securityfocus.com/bid/98838
https://access.redhat.com/errata/RHSA-2017:1574
https://kc.mcafee.com/corporate/index?page=content&id=SB10205
https://security.gentoo.org/glsa/201710-04
https://usn.ubuntu.com/3968-1/
Source: MITRE
Published: 2017-06-05
Updated: 2019-05-29
Type: CWE-20
Base Score: 7.2
Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C
Impact Score: 10
Exploitability Score: 3.9
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
Impact Score: 6
Exploitability Score: 1.5
Severity: HIGH