{"api_version":"1","generated_at":"2026-07-12T03:16:50+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":"PUBLISHED","assigner":"mitre","published_at":"2017-06-05 16:29:00","updated_at":"2025-04-20 01:37:25"},"problem_types":["CWE-20","n/a"],"metrics":[{"version":"3.0","source":"nvd@nist.gov","type":"Primary","score":"8.2","severity":"HIGH","vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","data":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","baseScore":8.2,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"7.2","severity":"","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","data":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","baseScore":7.2,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"}}],"references":[{"url":"https://usn.ubuntu.com/3968-1/","name":"https://usn.ubuntu.com/3968-1/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"USN-3968-1: Sudo vulnerabilities | Ubuntu security notices | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://kc.mcafee.com/corporate/index?page=content&id=SB10205","name":"https://kc.mcafee.com/corporate/index?page=content&id=SB10205","refsource":"af854a3a-2127-422b-91ae-364da2661108","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":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Potential file overwrite or tty access on Linux","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://usn.ubuntu.com/3968-2/","name":"https://usn.ubuntu.com/3968-2/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"USN-3968-2: Sudo vulnerability | Ubuntu security notices","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/98838","name":"http://www.securityfocus.com/bid/98838","refsource":"af854a3a-2127-422b-91ae-364da2661108","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://access.redhat.com/errata/RHSA-2017:1574","name":"https://access.redhat.com/errata/RHSA-2017:1574","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201710-04","name":"https://security.gentoo.org/glsa/201710-04","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"sudo: Privilege escalation (GLSA 201710-04) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"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":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"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.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":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-05T22:00:41.039Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://www.sudo.ws/alerts/linux_tty.html"},{"name":"GLSA-201710-04","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"https://security.gentoo.org/glsa/201710-04"},{"name":"98838","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/98838"},{"name":"RHSA-2017:1574","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"https://access.redhat.com/errata/RHSA-2017:1574"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://kc.mcafee.com/corporate/index?page=content&id=SB10205"},{"name":"USN-3968-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"https://usn.ubuntu.com/3968-1/"},{"name":"USN-3968-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"https://usn.ubuntu.com/3968-2/"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2017-05-30T00:00:00.000Z","descriptions":[{"lang":"en","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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2019-05-29T18:06:08.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"https://www.sudo.ws/alerts/linux_tty.html"},{"name":"GLSA-201710-04","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"https://security.gentoo.org/glsa/201710-04"},{"name":"98838","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/98838"},{"name":"RHSA-2017:1574","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"https://access.redhat.com/errata/RHSA-2017:1574"},{"tags":["x_refsource_CONFIRM"],"url":"https://kc.mcafee.com/corporate/index?page=content&id=SB10205"},{"name":"USN-3968-1","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"https://usn.ubuntu.com/3968-1/"},{"name":"USN-3968-2","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"https://usn.ubuntu.com/3968-2/"}],"x_legacyV4Record":{"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"},{"name":"USN-3968-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3968-1/"},{"name":"USN-3968-2","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3968-2/"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2017-1000368","datePublished":"2017-06-05T16:00:00.000Z","dateReserved":"2017-06-02T00:00:00.000Z","dateUpdated":"2024-08-05T22:00:41.039Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2017-06-05 16:29:00","lastModifiedDate":"2025-04-20 01:37:25","problem_types":["CWE-20","n/a"],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","baseScore":8.2,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.5,"impactScore":6}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","baseScore":7.2,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":3.9,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*","versionEndIncluding":"1.8.20","matchCriteriaId":"A1E57286-1794-4942-9C9F-884B76550AE0"},{"vulnerable":true,"criteria":"cpe:2.3:a:sudo_project:sudo:1.8.20:p1:*:*:*:*:*:*","matchCriteriaId":"F2148E02-139E-45BD-A636-E9E1A0FEAF65"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"1000368","Ordinal":"1","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":"CVE-2017-1000368"},{"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"}]}}}