{"id":"CVE-2017-1000368","aliases":["ALPINE-CVE-2017-1000368","BELL-CVE-2017-1000368","DEBIAN-CVE-2017-1000368","DLA-1011-1","EUVD-2017-1527","GHSA-v7hw-ff58-vxfm","RHSA-2017:1574","SUSE-SU-2017:1626-1","SUSE-SU-2017:1627-1","SUSE-SU-2017:1771-1","SUSE-SU-2017:1778-1","UBUNTU-CVE-2017-1000368","USN-3968-1","USN-3968-2","openSUSE-SU-2024:11413-1"],"status":"published","title":"Todd Miller's sudo version 1.8.20p1 and earlier is vulnerable to an input validation (embedded...","description":"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.","severity":{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00573,"percentile":0.47627,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2017-06-05T00:00:00Z","modified":"2026-10-24T10:30:33Z","fixes":[{"ecosystem":"Alpine:v3.10","package":"sudo","fixed_in":["1.8.20_p2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.11","package":"sudo","fixed_in":["1.8.20_p2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"sudo","fixed_in":["1.8.20_p2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"sudo","fixed_in":["1.8.20_p2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"sudo","fixed_in":["1.8.20_p2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"sudo","fixed_in":["1.8.20_p2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.7","package":"sudo","fixed_in":["1.8.20_p2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.8","package":"sudo","fixed_in":["1.8.20_p2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.9","package":"sudo","fixed_in":["1.8.20_p2-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"sudo","fixed_in":["1.8.20p1-1.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"sudo","fixed_in":["1.8.20p1-1.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"sudo","fixed_in":["1.8.20p1-1.1"],"sources":["osv"]},{"ecosystem":"Debian:7","package":"sudo","fixed_in":["1.8.5p2-1+nmu3+deb7u4"],"sources":["osv"]},{"ecosystem":"Red Hat:rhel_els:5","package":"sudo","fixed_in":["0:1.7.2p1-31.el5_11"],"sources":["osv"]},{"ecosystem":"Red Hat:rhel_els:5","package":"sudo-debuginfo","fixed_in":["0:1.7.2p1-31.el5_11"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::client","package":"sudo","fixed_in":["0:1.8.6p3-29.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::client","package":"sudo-debuginfo","fixed_in":["0:1.8.6p3-29.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::client","package":"sudo-devel","fixed_in":["0:1.8.6p3-29.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"sudo","fixed_in":["0:1.8.6p3-29.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"sudo-debuginfo","fixed_in":["0:1.8.6p3-29.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"sudo-devel","fixed_in":["0:1.8.6p3-29.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::server","package":"sudo","fixed_in":["0:1.8.6p3-29.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::server","package":"sudo-debuginfo","fixed_in":["0:1.8.6p3-29.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::server","package":"sudo-devel","fixed_in":["0:1.8.6p3-29.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"sudo","fixed_in":["0:1.8.6p3-29.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"sudo-debuginfo","fixed_in":["0:1.8.6p3-29.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"sudo-devel","fixed_in":["0:1.8.6p3-29.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::client","package":"sudo","fixed_in":["0:1.8.6p7-23.el7_3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::client","package":"sudo-debuginfo","fixed_in":["0:1.8.6p7-23.el7_3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::client","package":"sudo-devel","fixed_in":["0:1.8.6p7-23.el7_3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"sudo","fixed_in":["0:1.8.6p7-23.el7_3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"sudo-debuginfo","fixed_in":["0:1.8.6p7-23.el7_3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"sudo-devel","fixed_in":["0:1.8.6p7-23.el7_3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"sudo","fixed_in":["0:1.8.6p7-23.el7_3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"sudo-debuginfo","fixed_in":["0:1.8.6p7-23.el7_3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"sudo-devel","fixed_in":["0:1.8.6p7-23.el7_3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"sudo","fixed_in":["0:1.8.6p7-23.el7_3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"sudo-debuginfo","fixed_in":["0:1.8.6p7-23.el7_3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"sudo-devel","fixed_in":["0:1.8.6p7-23.el7_3"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","package":"sudo","fixed_in":["1.8.10p3-10.10.2","1.8.10p3-10.13.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2","package":"sudo","fixed_in":["1.8.10p3-10.10.2","1.8.10p3-10.13.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"sudo","fixed_in":["1.8.10p3-10.10.2","1.8.10p3-10.13.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2","package":"sudo","fixed_in":["1.8.10p3-10.10.2","1.8.10p3-10.13.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","package":"sudo","fixed_in":["1.8.10p3-10.10.2","1.8.10p3-10.13.1"],"sources":["osv"]},{"ecosystem":"SUSE:OpenStack Cloud 6","package":"sudo","fixed_in":["1.8.10p3-2.16.1","1.8.10p3-2.19.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12","package":"sudo","fixed_in":["1.8.10p3-2.16.1","1.8.10p3-2.19.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP1","package":"sudo","fixed_in":["1.8.10p3-2.16.1","1.8.10p3-2.19.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 12-LTSS","package":"sudo","fixed_in":["1.8.10p3-2.16.1","1.8.10p3-2.19.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP1-LTSS","package":"sudo","fixed_in":["1.8.10p3-2.16.1","1.8.10p3-2.19.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"sudo","fixed_in":["1.8.9p5-1ubuntu1.5+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"sudo","fixed_in":["1.8.16-0ubuntu1.6"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"sudo","fixed_in":["1.8.20p2-1ubuntu1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.10","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.20_p2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.11","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.20_p2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.20_p2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.20_p2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.20_p2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.20_p2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.7","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.20_p2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.8","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.20_p2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.9","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.20_p2-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.20p1-1.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.20p1-1.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.20p1-1.1"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.5p2-1+nmu3+deb7u4"}]}],"versions":["1.8.5p2-1+nmu1","1.8.5p2-1+nmu2","1.8.5p2-1+nmu3","1.8.5p2-1+nmu3+deb7u1","1.8.5p2-1+nmu3+deb7u2","1.8.5p2-1+nmu3+deb7u3"]},{"source":"osv","ecosystem":"Red Hat:rhel_els:5","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.7.2p1-31.el5_11"}]}]},{"source":"osv","ecosystem":"Red Hat:rhel_els:5","package":"sudo-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.7.2p1-31.el5_11"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p3-29.el6_9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"sudo-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p3-29.el6_9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"sudo-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p3-29.el6_9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p3-29.el6_9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"sudo-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p3-29.el6_9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"sudo-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p3-29.el6_9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p3-29.el6_9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"sudo-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p3-29.el6_9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"sudo-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p3-29.el6_9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p3-29.el6_9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"sudo-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p3-29.el6_9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"sudo-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p3-29.el6_9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p7-23.el7_3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"sudo-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p7-23.el7_3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"sudo-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p7-23.el7_3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p7-23.el7_3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"sudo-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p7-23.el7_3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"sudo-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p7-23.el7_3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p7-23.el7_3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"sudo-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p7-23.el7_3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"sudo-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p7-23.el7_3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p7-23.el7_3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"sudo-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p7-23.el7_3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"sudo-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p7-23.el7_3"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-10.10.2"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-10.10.2"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-10.10.2"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP2","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-10.10.2"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-10.10.2"}]}]},{"source":"osv","ecosystem":"SUSE:OpenStack Cloud 6","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-2.16.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-2.16.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP1","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-2.16.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12-LTSS","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-2.16.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP1-LTSS","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-2.16.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-10.13.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-10.13.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-10.13.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP2","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-10.13.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-10.13.1"}]}]},{"source":"osv","ecosystem":"SUSE:OpenStack Cloud 6","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-2.19.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-2.19.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP1","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-2.19.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12-LTSS","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-2.19.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP1-LTSS","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-2.19.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.9p5-1ubuntu1.5+esm1"}]}],"versions":["1.8.6p3-0ubuntu3","1.8.8-2ubuntu1","1.8.8-2ubuntu2","1.8.9p4-1ubuntu1","1.8.9p4-1ubuntu2","1.8.9p5-1ubuntu1","1.8.9p5-1ubuntu1.1","1.8.9p5-1ubuntu1.2","1.8.9p5-1ubuntu1.3","1.8.9p5-1ubuntu1.4"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.16-0ubuntu1.6"}]}],"versions":["1.8.12-1ubuntu3","1.8.16-0ubuntu1","1.8.16-0ubuntu1.1","1.8.16-0ubuntu1.2","1.8.16-0ubuntu1.3","1.8.16-0ubuntu1.4","1.8.16-0ubuntu1.5"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.20p2-1ubuntu1"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.16-0ubuntu1.6"}]}],"versions":["1.8.12-1ubuntu3","1.8.16-0ubuntu1","1.8.16-0ubuntu1.1","1.8.16-0ubuntu1.2","1.8.16-0ubuntu1.3","1.8.16-0ubuntu1.4","1.8.16-0ubuntu1.5"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.9p5-1ubuntu1.5+esm1"}]}],"versions":["1.8.6p3-0ubuntu3","1.8.8-2ubuntu1","1.8.8-2ubuntu2","1.8.9p4-1ubuntu1","1.8.9p4-1ubuntu2","1.8.9p5-1ubuntu1","1.8.9p5-1ubuntu1.1","1.8.9p5-1ubuntu1.2","1.8.9p5-1ubuntu1.3","1.8.9p5-1ubuntu1.4"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.7p2-1.4"}]}],"bundled":11}],"products":[{"vendor":"sudo_project","product":"sudo"}],"references":[{"url":"https://www.sudo.ws/alerts/linux_tty.html","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","article","report"]},{"url":"https://security.gentoo.org/glsa/201710-04","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.securityfocus.com/bid/98838","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:1574","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]},{"url":"https://kc.mcafee.com/corporate/index?page=content\u0026id=SB10205","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://usn.ubuntu.com/3968-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://usn.ubuntu.com/3968-2/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000368","tags":["advisory"]},{"url":"https://usn.ubuntu.com/3968-1"},{"url":"https://usn.ubuntu.com/3968-2"},{"url":"https://github.com/advisories/GHSA-v7hw-ff58-vxfm"},{"url":"https://security.alpinelinux.org/vuln/CVE-2017-1000368","tags":["advisory"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2017-1000368","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-1000368","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1459152","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2017/rhsa-2017_1574.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2017-1000368","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-1000368","tags":["advisory","report"]},{"url":"https://access.redhat.com/security/cve/CVE-2017-1000367","tags":["article"]},{"url":"https://access.redhat.com/security/vulnerabilities/3059071","tags":["article"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20171626-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1034560","tags":["report"]},{"url":"https://bugzilla.suse.com/1042146","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-1000368","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20171627-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20171771-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1045986","tags":["report"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20171778-1/","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-1000368","tags":["report"]},{"url":"http://www.openwall.com/lists/oss-security/2017/06/02/7","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3968-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-3968-2","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2016-7076","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2005-4158","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2014-9680","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-7032","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-7076","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-1000367","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-14287","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-18634","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-23239","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-23240","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-3156","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-1000368","description":"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.","status":"published","published":"2017-06-05T16:00:00Z","modified":"2024-08-05T22:00:41.039Z","updated_at":"2026-11-02T14:33:20.843976Z"}],"euvd":[{"id":"EUVD-2017-1527","description":"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.","status":"published","published":"2017-06-05T16:00:00Z","modified":"2024-08-05T22:00:41Z","updated_at":"2026-11-03T02:23:03.159581Z"}],"ghsa":[{"id":"GHSA-v7hw-ff58-vxfm","title":"Todd Miller's sudo version 1.8.20p1 and earlier is vulnerable to an input validation (embedded...","description":"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.","status":"published","published":"2022-05-14T01:00:16Z","modified":"2025-04-20T03:39:31Z","cvss":[{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:01:47.375435Z"}],"nvd":[{"id":"CVE-2017-1000368","description":"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.","status":"published","published":"2017-06-05T16:29:00.2Z","modified":"2026-06-17T00:59:02.587Z","cvss":[{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:03:49.449157Z"}],"osv":[{"id":"ALPINE-CVE-2017-1000368","description":"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.","status":"published","published":"2017-06-05T16:29:00.2Z","modified":"2026-06-15T18:23:56.117726063Z","cvss":[{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:27:46.716249Z"},{"id":"BELL-CVE-2017-1000368","title":"CVE-2017-1000368 does not affect BellSoft software","status":"withdrawn","published":"2023-08-31T12:16:23.769257Z","modified":"2026-01-26T09:49:06.422208Z","cvss":[{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:28:14.137943Z"},{"id":"CVE-2017-1000368","description":"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.","status":"published","published":"2017-06-05T16:29:00.2Z","modified":"2026-10-24T10:30:33.06052565Z","cvss":[{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:03.851821Z"},{"id":"DEBIAN-CVE-2017-1000368","description":"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.","status":"published","published":"2017-06-05T16:29:00.2Z","modified":"2026-09-01T20:03:40.362406347Z","cvss":[{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:28.207321Z"},{"id":"RHSA-2017:1574","title":"Red Hat Security Advisory: sudo security update","status":"published","published":"2024-09-13T14:40:57Z","modified":"2026-06-26T10:34:20Z","cvss":[{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:04.262457Z"},{"id":"UBUNTU-CVE-2017-1000368","description":"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.","status":"published","published":"2017-06-05T00:00:00Z","modified":"2026-02-04T02:44:18.771306Z","cvss":[{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:13.729565Z"},{"id":"DLA-1011-1","title":"sudo - security update","status":"published","published":"2017-07-03T00:00:00Z","modified":"2026-03-09T01:00:40.867389Z","updated_at":"2026-11-02T15:46:08.746073Z"},{"id":"openSUSE-SU-2024:11413-1","title":"sudo-1.9.7p2-1.4 on GA media","description":"These are all security issues fixed in the sudo-1.9.7p2-1.4 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:46:24.949279Z","updated_at":"2026-11-02T16:58:35.195147Z"},{"id":"SUSE-SU-2017:1626-1","title":"Security update for sudo","description":"This update for sudo fixes the following security issue:\n\n- CVE-2017-1000368: A follow-up fix to CVE-2017-1000367, the Linux process name could also contain a\n  newline, which could be used to trick sudo to read/write to an\n  arbitrary open terminal. (bsc#1042146)\n\nAlso the following non security bug was fixed:\n\n- Link the 'system_group' plugin with sudo_util library to resolve the missing sudo_dso_findsym symbol (bsc#1034560)\n\n","status":"published","published":"2017-06-20T11:19:19Z","modified":"2026-02-04T04:06:00.673097Z","updated_at":"2026-11-02T15:53:43.83457Z"},{"id":"SUSE-SU-2017:1627-1","title":"Security update for sudo","description":"This update for sudo fixes the following issues:\n\n- CVE-2017-1000368: A follow-up fix to CVE-2017-1000367, the Linux process name could also contain a\n  newline, which could be used to trick sudo to read/write to an\n  arbitrary open terminal.  (bsc#1042146)\n\nAlso the following non security bug was fixed:\n\n- Link the 'system_group' plugin with sudo_util library to resolve the missing sudo_dso_findsym symbol (bsc#1034560)\n\n","status":"published","published":"2017-06-20T11:18:40Z","modified":"2026-02-04T03:59:22.778717Z","updated_at":"2026-11-02T15:53:43.83457Z"},{"id":"SUSE-SU-2017:1771-1","title":"Security update for sudo","description":"This update for sudo fixes the following issues:\n\n- A regression in the fix for the CVE-2017-1000368 that broke sudo with the\n  'requiretty' flag (bsc#1045986)\n","status":"published","published":"2017-07-04T14:15:09Z","modified":"2026-02-04T02:21:55.611508Z","updated_at":"2026-11-02T15:53:44.209561Z"},{"id":"SUSE-SU-2017:1778-1","title":"Security update for sudo","description":"This update for sudo fixes the following issues:\n\n- A regression in the fix for the CVE-2017-1000368 that broke sudo with the\n  'requiretty' flag (bsc#1045986)\n","status":"published","published":"2017-07-04T14:36:06Z","modified":"2026-02-04T04:15:21.876655Z","updated_at":"2026-11-02T15:53:44.209561Z"},{"id":"USN-3968-1","title":"sudo vulnerabilities","description":"Florian Weimer discovered that Sudo incorrectly handled the noexec\nrestriction when used with certain applications. A local attacker could\npossibly use this issue to bypass configured restrictions and execute\narbitrary commands. (CVE-2016-7076)\n\nIt was discovered that Sudo did not properly parse the contents of\n/proc/[pid]/stat when attempting to determine its controlling tty. A local\nattacker in some configurations could possibly use this to overwrite any\nfile on the filesystem, bypassing intended permissions. (CVE-2017-1000368)\n","status":"published","published":"2019-05-06T17:19:43Z","modified":"2026-02-10T04:41:31Z","updated_at":"2026-11-02T16:58:14.019824Z"},{"id":"USN-3968-2","title":"sudo vulnerability","description":"USN-3968-1 fixed a vulnerability in Sudo. This update provides\nthe corresponding update for Ubuntu 14.04 ESM.\n\nOriginal advisory details:\n\n It was discovered that Sudo did not properly parse the contents of\n /proc/[pid]/stat when attempting to determine its controlling tty. A local\n attacker in some configurations could possibly use this to overwrite any\n file on the filesystem, bypassing intended permissions. (CVE-2017-1000368)\n","status":"published","published":"2019-05-29T16:42:34Z","modified":"2026-02-10T04:41:31Z","updated_at":"2026-11-02T16:58:14.019824Z"}]}}
