Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
n/a n/a
n/aaffected
References
- http://www.ubuntu.com/usn/USN-3304-1 ↗
- https://security.gentoo.org/glsa/201705-15 ↗
- http://www.securityfocus.com/bid/98745 ↗
- https://www.sudo.ws/alerts/linux_tty.html ↗
- http://seclists.org/fulldisclosure/2017/Jun/3 ↗
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VXEXC4NNIG2QOZY6N2YUK246KI3D3UQO/ ↗
- https://access.redhat.com/errata/RHSA-2017:1382 ↗
- http://packetstormsecurity.com/files/142783/Sudo-get_process_ttyname-Race-Condition.html ↗
- http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00077.html ↗
- http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00078.html ↗
- http://www.debian.org/security/2017/dsa-3867 ↗
- http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00079.html ↗
- https://www.exploit-db.com/exploits/42183/ ↗
- http://www.openwall.com/lists/oss-security/2017/05/30/16 ↗
- https://access.redhat.com/errata/RHSA-2017:1381 ↗
- http://www.securitytracker.com/id/1038582 ↗
- http://www.openwall.com/lists/oss-security/2022/12/22/5 ↗
- http://www.openwall.com/lists/oss-security/2022/12/22/6 ↗