{"api_version":"1","generated_at":"2026-04-23T00:38:22+00:00","cve":"CVE-2017-1000368","urls":{"html":"https://cve.report/CVE-2017-1000368","api":"https://cve.report/api/cve/CVE-2017-1000368.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-1000368","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000368"},"summary":{"title":"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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2017-06-05 16:29:00","updated_at":"2019-05-29 19:29:00"},"problem_types":["CWE-20"],"metrics":[],"references":[{"url":"https://kc.mcafee.com/corporate/index?page=content&id=SB10205","name":"https://kc.mcafee.com/corporate/index?page=content&id=SB10205","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"McAfee Corporate KB - McAfee Security Bulletin - Web Gateway update fixes vulnerabilities CVE-2012-6706, CVE-2017-1000364, CVE-2017-1000366, and CVE-2017-1000368 SB10205","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.sudo.ws/alerts/linux_tty.html","name":"https://www.sudo.ws/alerts/linux_tty.html","refsource":"CONFIRM","tags":["Vendor Advisory"],"title":"Potential file overwrite or tty access on Linux","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201710-04","name":"GLSA-201710-04","refsource":"GENTOO","tags":["Third Party Advisory"],"title":"sudo: Privilege escalation (GLSA 201710-04) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://usn.ubuntu.com/3968-2/","name":"USN-3968-2","refsource":"UBUNTU","tags":[],"title":"USN-3968-2: Sudo vulnerability | Ubuntu security notices","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2017:1574","name":"RHSA-2017:1574","refsource":"REDHAT","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://usn.ubuntu.com/3968-1/","name":"USN-3968-1","refsource":"UBUNTU","tags":[],"title":"USN-3968-1: Sudo vulnerabilities | Ubuntu security notices | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/98838","name":"98838","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"Sudo CVE-2017-1000368 Incomplete Fix Local Privilege Escalation Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-1000368","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000368","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"1000368","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"sudo_project","cpe5":"sudo","cpe6":"1.8.20","cpe7":"p1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"1000368","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"sudo_project","cpe5":"sudo","cpe6":"1.8.20","cpe7":"p1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"1000368","vulnerable":"1","versionEndIncluding":"1.8.20","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"sudo_project","cpe5":"sudo","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2017-1000368","qid":"378204","title":"Virtuozzo Linux Security Update for sudo (VZLSA-2017:1574)"},{"cve":"CVE-2017-1000368","qid":"390227","title":"Oracle Managed Virtualization (VM) Server for x86 Security Update for sudo (OVMSA-2021-0012)"},{"cve":"CVE-2017-1000368","qid":"500674","title":"Alpine Linux Security Update for sudo"},{"cve":"CVE-2017-1000368","qid":"710325","title":"Gentoo Linux sudo Privilege escalation Vulnerability (GLSA 201710-04)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-1000368","REQUESTER":"Todd.Miller@courtesan.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://www.sudo.ws/alerts/linux_tty.html","refsource":"CONFIRM","url":"https://www.sudo.ws/alerts/linux_tty.html"},{"name":"GLSA-201710-04","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201710-04"},{"name":"98838","refsource":"BID","url":"http://www.securityfocus.com/bid/98838"},{"name":"RHSA-2017:1574","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2017:1574"},{"name":"https://kc.mcafee.com/corporate/index?page=content&id=SB10205","refsource":"CONFIRM","url":"https://kc.mcafee.com/corporate/index?page=content&id=SB10205"},{"refsource":"UBUNTU","name":"USN-3968-1","url":"https://usn.ubuntu.com/3968-1/"},{"refsource":"UBUNTU","name":"USN-3968-2","url":"https://usn.ubuntu.com/3968-2/"}]}},"nvd":{"publishedDate":"2017-06-05 16:29:00","lastModifiedDate":"2019-05-29 19:29:00","problem_types":["CWE-20"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.2,"baseSeverity":"HIGH"},"exploitabilityScore":1.5,"impactScore":6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":7.2},"severity":"HIGH","exploitabilityScore":3.9,"impactScore":10,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*","versionEndIncluding":"1.8.20","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:sudo_project:sudo:1.8.20:p1:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"1000368","Ordinal":"106426","Title":"CVE-2017-1000368","CVE":"CVE-2017-1000368","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"1000368","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2017","CveId":"1000368","Ordinal":"2","NoteData":"2017-06-05","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"1000368","Ordinal":"3","NoteData":"2019-05-29","Type":"Other","Title":"Modified"}]}}}