{"id":"CVE-2017-1000367","aliases":["BELL-CVE-2017-1000367","DEBIAN-CVE-2017-1000367","DLA-970-1","DSA-3867-1","EUVD-2017-1526","GHSA-4c2x-g299-mpv8","MGASA-2017-0207","RHSA-2017:1381","RHSA-2017:1382","SUSE-SU-2017:1446-1","SUSE-SU-2017:1450-1","UBUNTU-CVE-2017-1000367","USN-3304-1","openSUSE-SU-2024:11413-1"],"status":"published","title":"Todd Miller's sudo version 1.8.20 and earlier is vulnerable to an input validation (embedded...","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.","severity":{"version":"3.0","score":6.4,"vector":"CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.08068,"percentile":0.94829,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-362"],"published":"2017-05-30T00:00:00Z","modified":"2026-10-24T10:31:03Z","exploits":[{"source":"pocgithub","id":"c0d3z3r0/sudo-CVE-2017-1000367","title":"c0d3z3r0/sudo-CVE-2017-1000367","date":"2017-05-30","url":"https://github.com/c0d3z3r0/sudo-CVE-2017-1000367"},{"source":"pocgithub","id":"homjxi0e/CVE-2017-1000367","title":"homjxi0e/CVE-2017-1000367","date":"2017-06-04","url":"https://github.com/homjxi0e/CVE-2017-1000367"},{"source":"pocgithub","id":"pucerpocok/sudo_exploit","title":"pucerpocok/sudo_exploit","date":"2017-06-08","url":"https://github.com/pucerpocok/sudo_exploit"},{"source":"exploitdb","id":"EDB-42183","title":"Sudo 1.8.20 - 'get_process_ttyname()' Local Privilege Escalation","type":"local","platform":"linux","date":"2017-06-14","url":"https://www.exploit-db.com/exploits/42183"},{"source":"pocgithub","id":"letsr00t/CVE-2017-1000367","title":"letsr00t/CVE-2017-1000367","date":"2025-10-17","url":"https://github.com/letsr00t/CVE-2017-1000367"}],"fixes":[{"ecosystem":"Debian:12","package":"sudo","fixed_in":["1.8.20p1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"sudo","fixed_in":["1.8.20p1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"sudo","fixed_in":["1.8.20p1-1"],"sources":["osv"]},{"ecosystem":"Debian:7","package":"sudo","fixed_in":["1.8.5p2-1+nmu3+deb7u3"],"sources":["osv"]},{"ecosystem":"Debian:8","package":"sudo","fixed_in":["1.8.10p3-1+deb8u4"],"sources":["osv"]},{"ecosystem":"Mageia:5","package":"sudo","fixed_in":["1.8.20p2-1.mga5"],"sources":["osv"]},{"ecosystem":"Red Hat:rhel_els:5","package":"sudo","fixed_in":["0:1.7.2p1-30.el5_11"],"sources":["osv"]},{"ecosystem":"Red Hat:rhel_els:5","package":"sudo-debuginfo","fixed_in":["0:1.7.2p1-30.el5_11"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::client","package":"sudo","fixed_in":["0:1.8.6p3-28.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::client","package":"sudo-debuginfo","fixed_in":["0:1.8.6p3-28.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::client","package":"sudo-devel","fixed_in":["0:1.8.6p3-28.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"sudo","fixed_in":["0:1.8.6p3-28.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"sudo-debuginfo","fixed_in":["0:1.8.6p3-28.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"sudo-devel","fixed_in":["0:1.8.6p3-28.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::server","package":"sudo","fixed_in":["0:1.8.6p3-28.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::server","package":"sudo-debuginfo","fixed_in":["0:1.8.6p3-28.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::server","package":"sudo-devel","fixed_in":["0:1.8.6p3-28.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"sudo","fixed_in":["0:1.8.6p3-28.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"sudo-debuginfo","fixed_in":["0:1.8.6p3-28.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"sudo-devel","fixed_in":["0:1.8.6p3-28.el6_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::client","package":"sudo","fixed_in":["0:1.8.6p7-22.el7_3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::client","package":"sudo-debuginfo","fixed_in":["0:1.8.6p7-22.el7_3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::client","package":"sudo-devel","fixed_in":["0:1.8.6p7-22.el7_3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"sudo","fixed_in":["0:1.8.6p7-22.el7_3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"sudo-debuginfo","fixed_in":["0:1.8.6p7-22.el7_3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"sudo-devel","fixed_in":["0:1.8.6p7-22.el7_3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"sudo","fixed_in":["0:1.8.6p7-22.el7_3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"sudo-debuginfo","fixed_in":["0:1.8.6p7-22.el7_3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"sudo-devel","fixed_in":["0:1.8.6p7-22.el7_3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"sudo","fixed_in":["0:1.8.6p7-22.el7_3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"sudo-debuginfo","fixed_in":["0:1.8.6p7-22.el7_3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"sudo-devel","fixed_in":["0:1.8.6p7-22.el7_3"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP1","package":"sudo","fixed_in":["1.8.10p3-2.11.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12","package":"sudo","fixed_in":["1.8.10p3-2.11.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP1","package":"sudo","fixed_in":["1.8.10p3-2.11.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 12-LTSS","package":"sudo","fixed_in":["1.8.10p3-2.11.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP1","package":"sudo","fixed_in":["1.8.10p3-2.11.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP1","package":"sudo","fixed_in":["1.8.10p3-2.11.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","package":"sudo","fixed_in":["1.8.10p3-10.5.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2","package":"sudo","fixed_in":["1.8.10p3-10.5.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"sudo","fixed_in":["1.8.10p3-10.5.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2","package":"sudo","fixed_in":["1.8.10p3-10.5.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","package":"sudo","fixed_in":["1.8.10p3-10.5.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"sudo","fixed_in":["1.8.9p5-1ubuntu1.4"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"sudo","fixed_in":["1.8.16-0ubuntu1.4"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.20p1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.20p1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.20p1-1"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.5p2-1+nmu3+deb7u3"}]}],"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"]},{"source":"osv","ecosystem":"Debian:8","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-1+deb8u4"}]}],"versions":["1.8.10p3-1+deb8u2","1.8.10p3-1+deb8u3"]},{"source":"osv","ecosystem":"Mageia:5","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.20p2-1.mga5"}]}]},{"source":"osv","ecosystem":"Red Hat:rhel_els:5","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.7.2p1-30.el5_11"}]}]},{"source":"osv","ecosystem":"Red Hat:rhel_els:5","package":"sudo-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.7.2p1-30.el5_11"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p3-28.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-28.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-28.el6_9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p3-28.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-28.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-28.el6_9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p3-28.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-28.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-28.el6_9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p3-28.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-28.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-28.el6_9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p7-22.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-22.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-22.el7_3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p7-22.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-22.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-22.el7_3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p7-22.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-22.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-22.el7_3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.6p7-22.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-22.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-22.el7_3"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP1","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-2.11.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.11.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP1","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-2.11.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12-LTSS","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-2.11.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP1","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-2.11.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.11.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-10.5.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.5.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.5.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP2","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.10p3-10.5.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.5.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.9p5-1ubuntu1.4"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.16-0ubuntu1.4"}]}],"versions":["1.8.12-1ubuntu3","1.8.16-0ubuntu1","1.8.16-0ubuntu1.1","1.8.16-0ubuntu1.2","1.8.16-0ubuntu1.3"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.9p5-1ubuntu1.4"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.16-0ubuntu1.4"}]}],"versions":["1.8.12-1ubuntu3","1.8.16-0ubuntu1","1.8.16-0ubuntu1.1","1.8.16-0ubuntu1.2","1.8.16-0ubuntu1.3"]},{"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":"http://www.ubuntu.com/usn/USN-3304-1","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"https://security.gentoo.org/glsa/201705-15","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.securityfocus.com/bid/98745","tags":["vdb-entry","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://www.sudo.ws/alerts/linux_tty.html","tags":["x_transferred","Vendor Advisory","advisory","article","report"]},{"url":"http://seclists.org/fulldisclosure/2017/Jun/3","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VXEXC4NNIG2QOZY6N2YUK246KI3D3UQO/","tags":["vendor-advisory","x_transferred","web"]},{"url":"https://access.redhat.com/errata/RHSA-2017:1382","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"http://packetstormsecurity.com/files/142783/Sudo-get_process_ttyname-Race-Condition.html","tags":["x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00077.html","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00078.html","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.debian.org/security/2017/dsa-3867","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00079.html","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.exploit-db.com/exploits/42183/","tags":["exploit","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2017/05/30/16","tags":["mailing-list","x_transferred","Exploit","Mailing List","Third Party Advisory","evidence","report"]},{"url":"https://access.redhat.com/errata/RHSA-2017:1381","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.securitytracker.com/id/1038582","tags":["vdb-entry","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"http://www.openwall.com/lists/oss-security/2022/12/22/5","tags":["mailing-list","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2022/12/22/6","tags":["mailing-list","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000367","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VXEXC4NNIG2QOZY6N2YUK246KI3D3UQO"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VXEXC4NNIG2QOZY6N2YUK246KI3D3UQO"},{"url":"https://www.exploit-db.com/exploits/42183"},{"url":"https://github.com/advisories/GHSA-4c2x-g299-mpv8"},{"url":"https://docs.bell-sw.com/security/cves/CVE-2017-1000367","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-1000367","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2017-0207.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=20996","tags":["report"]},{"url":"https://rhn.redhat.com/errata/RHSA-2017-1382.html","tags":["web"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1453074","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2017/rhsa-2017_1381.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2017-1000367","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-1000367","tags":["advisory","report"]},{"url":"https://access.redhat.com/security/vulnerabilities/3059071","tags":["article"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2017/rhsa-2017_1382.json","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20171446-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1015351","tags":["report"]},{"url":"https://bugzilla.suse.com/1024145","tags":["report"]},{"url":"https://bugzilla.suse.com/1039361","tags":["report"]},{"url":"https://bugzilla.suse.com/981124","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-1000367","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20171450-1/","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-1000367","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3304-1","tags":["advisory"]},{"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-1000368","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-1000367","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.","status":"published","published":"2017-06-05T00:00:00Z","modified":"2024-08-05T22:00:39.956Z","updated_at":"2026-11-02T14:33:21.142987Z"}],"euvd":[{"id":"EUVD-2017-1526","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.","status":"published","published":"2017-06-05T00:00:00Z","modified":"2024-08-05T22:00:39Z","updated_at":"2026-11-03T02:23:03.593375Z"}],"ghsa":[{"id":"GHSA-4c2x-g299-mpv8","title":"Todd Miller's sudo version 1.8.20 and earlier is vulnerable to an input validation (embedded...","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.","status":"published","published":"2022-05-13T01:41:13Z","modified":"2025-04-20T03:38:28Z","cvss":[{"version":"3.0","score":6.4,"vector":"CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T15:01:46.283604Z"}],"nvd":[{"id":"CVE-2017-1000367","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.","status":"published","published":"2017-06-05T14:29:00.2Z","modified":"2026-06-17T00:59:02.437Z","cvss":[{"version":"3.0","score":6.4,"vector":"CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":6.9,"vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","level":"medium","assessor":"primary"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:03:49.449157Z"}],"osv":[{"id":"BELL-CVE-2017-1000367","title":"CVE-2017-1000367 does not affect BellSoft software","status":"withdrawn","published":"2017-06-05T14:29:00Z","modified":"2026-01-26T09:46:41.53352Z","cvss":[{"version":"3.0","score":6.4,"vector":"CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-02T15:28:14.137943Z"},{"id":"CVE-2017-1000367","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.","status":"published","published":"2017-06-05T14:29:00.2Z","modified":"2026-10-24T10:31:03.410713471Z","cvss":[{"version":"3.0","score":6.4,"vector":"CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:03.851821Z"},{"id":"DEBIAN-CVE-2017-1000367","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.","status":"published","published":"2017-06-05T14:29:00.2Z","modified":"2026-09-01T20:03:40.680911303Z","cvss":[{"version":"3.0","score":6.4,"vector":"CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:28.207321Z"},{"id":"RHSA-2017:1381","title":"Red Hat Security Advisory: sudo security update","status":"published","published":"2024-09-13T14:40:41Z","modified":"2026-05-13T10:36:07.603052Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:04.262457Z"},{"id":"RHSA-2017:1382","title":"Red Hat Security Advisory: sudo security update","status":"published","published":"2024-09-13T14:40:37Z","modified":"2026-06-26T10:34:09Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:04.262457Z"},{"id":"UBUNTU-CVE-2017-1000367","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.","status":"published","published":"2017-05-30T15:00:00Z","modified":"2026-02-04T03:23:10.480431Z","cvss":[{"version":"3.0","score":6.4,"vector":"CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:13.729565Z"},{"id":"DLA-970-1","title":"sudo - security update","status":"published","published":"2017-05-30T00:00:00Z","modified":"2026-03-09T02:10:17.726227Z","updated_at":"2026-11-02T15:46:13.584509Z"},{"id":"DSA-3867-1","title":"sudo - security update","status":"published","published":"2017-05-30T00:00:00Z","modified":"2026-03-09T01:22:12.22505Z","updated_at":"2026-11-02T15:46:16.523846Z"},{"id":"MGASA-2017-0207","title":"Updated sudo packages fix security vulnerability","description":"A flaw was found in the way sudo parsed tty information from the process\nstatus file in the proc filesystem. A local user with privileges to\nexecute commands via sudo could use this flaw to escalate their privileges\nto root. (CVE-2017-1000367)\n","status":"published","published":"2017-07-13T09:10:46Z","modified":"2026-04-16T06:25:32.214695685Z","updated_at":"2026-11-02T15:49:40.103088Z"},{"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:1446-1","title":"Security update for sudo","description":"\nThis update for sudo fixes the following issues:\n\nCVE-2017-1000367:\n- Due to incorrect assumptions in /proc/[pid]/stat parsing,\n  a local attacker can pretend that his tty is any file on the filesystem,\n  thus gaining arbitrary file write access on SELinux-enabled systems. [bsc#1039361]\n- Fix FQDN for hostname. [bsc#1024145]\n- Filter netgroups, they aren't handled by SSSD. [bsc#1015351]\n- Fix problems related to 'krb5_ccname' option [bsc#981124]\n","status":"published","published":"2017-05-30T15:51:49Z","modified":"2026-02-04T02:19:08.231944Z","updated_at":"2026-11-02T15:53:43.83457Z"},{"id":"SUSE-SU-2017:1450-1","title":"Security update for sudo","description":"\nThis update for sudo fixes the following issues:\n\nCVE-2017-1000367:\n- Due to incorrect assumptions in /proc/[pid]/stat parsing,\n  a local attacker can pretend that his tty is any file on the filesystem,\n  thus gaining arbitrary file write access on SELinux-enabled systems. [bsc#1039361]\n- Fix FQDN for hostname. [bsc#1024145]\n- Filter netgroups, they aren't handled by SSSD. [bsc#1015351]\n- Fix problems related to 'krb5_ccname' option [bsc#981124]\n","status":"published","published":"2017-05-30T15:52:27Z","modified":"2026-02-04T03:41:22.215043Z","updated_at":"2026-11-02T15:53:43.83457Z"},{"id":"USN-3304-1","title":"sudo vulnerability","description":"It was discovered that Sudo did not properly parse the contents of\n/proc/[pid]/stat when attempting to determine its controlling tty.\nA local attacker in some configurations could possibly use this to\noverwrite any file on the filesystem, bypassing intended permissions.\n","status":"published","published":"2017-05-30T16:38:06Z","modified":"2026-02-10T04:41:08Z","updated_at":"2026-11-02T16:58:13.496563Z"}]}}
