Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-1000367
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:08 UTC · Revision 1
Source evidence
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.
osv:CVE-2017-1000367
Complete source record
{
"id": "a88b8f5592fa12dfad7298f6bf4486a033e129e1a0b17e592498af4dc140b643",
"url": "https://osv.dev/vulnerability/CVE-2017-1000367",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-1000367",
"summary": "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.",
"evidence": "osv:CVE-2017-1000367",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2017-1000367",
"aliases": [
"CVE-2017-1000367"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/millert/sudo",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "54a5f94e07d7f6c69750d181f06d74f49d0663d1"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.8.20"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"SUDO_1_8_20",
"SUDO_1_8_19p2",
"SUDO_1_8_19p1",
"SUDO_1_8_19",
"SUDO_1_8_18p1",
"SUDO_1_8_18",
"SUDO_1_8_17p1",
"SUDO_1_8_17",
"SUDO_1_8_16",
"SUDO_1_8_15",
"SUDO_1_8_14p3",
"SUDO_1_8_14p1",
"SUDO_1_8_14",
"SUDO_1_8_13",
"SUDO_1_8_12",
"SUDO_1_8_11p2",
"SUDO_1_8_11p1",
"SUDO_1_8_11",
"SUDO_1_8_10p3",
"SUDO_1_8_10p2",
"SUDO_1_8_10p1",
"SUDO_1_8_10",
"SUDO_1_8_9p5",
"SUDO_1_8_9p4",
"SUDO_1_8_9p3",
"SUDO_1_8_9p2",
"SUDO_1_8_9p1",
"SUDO_1_8_9",
"SUDO_1_8_8",
"SUDO_1_8_7",
"SUDO_1_8_6p8",
"SUDO_1_8_6p7",
"SUDO_1_8_6p6",
"SUDO_1_8_6p5",
"SUDO_1_8_6p4",
"SUDO_1_8_6p3",
"SUDO_1_8_6p2",
"SUDO_1_8_6p1",
"SUDO_1_8_6",
"SUDO_1_8_5p3",
"SUDO_1_8_5p2",
"SUDO_1_8_5p1",
"SUDO_1_8_5",
"SUDO_1_8_4p5",
"SUDO_1_8_4p4",
"SUDO_1_8_4p3",
"SUDO_1_8_4p2",
"SUDO_1_8_4p1",
"SUDO_1_8_4",
"SUDO_1_8_3",
"SUDO_1_8_2",
"SUDO_1_8_1",
"SUDO_1_8_0",
"SUDO_1_7_2",
"SUDO_1_7_1",
"SUDO_1_7_0",
"SUDO_1_6_8p1",
"SUDO_1_6_8",
"SUDO_1_6_7",
"SUDO_1_6_6",
"SUDO_1_6_5",
"SUDO_1_6_4",
"SUDO_1_6_3",
"SUDO_1_6_2",
"SUDO_1_6_1",
"SUDO_1_6_0",
"SUDO_1_5_9",
"SUDO_1_5_8",
"SUDO_1_5_7",
"SUDO_1_5_6",
"SUDO_1_5_4",
"SUDO_1_5_3",
"SUDO_1_5_2",
"SUDO_1_5_1",
"SUDO_1_5_0",
"SUDO_1_4_0",
"SUDO_1_3_1",
"SUDO_1_3_0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-1000367.json"
}
},
{
"ranges": [
{
"repo": "https://github.com/sudo-project/sudo",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "54a5f94e07d7f6c69750d181f06d74f49d0663d1"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.8.20"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.8.20",
"SUDO_1_8_20",
"v1.8.19p2",
"SUDO_1_8_19p2",
"v1.8.19p1",
"SUDO_1_8_19p1",
"v1.8.19",
"SUDO_1_8_19",
"v1.8.18p1",
"SUDO_1_8_18p1",
"v1.8.18",
"SUDO_1_8_18",
"v1.8.17p1",
"SUDO_1_8_17p1",
"v1.8.17",
"SUDO_1_8_17",
"v1.8.16",
"SUDO_1_8_16",
"v1.8.15",
"SUDO_1_8_15",
"v1.8.14p3",
"SUDO_1_8_14p3",
"v1.8.14p1",
"SUDO_1_8_14p1",
"v1.8.14",
"SUDO_1_8_14",
"v1.8.13",
"SUDO_1_8_13",
"v1.8.12",
"SUDO_1_8_12",
"v1.8.11p2",
"SUDO_1_8_11p2",
"v1.8.11p1",
"SUDO_1_8_11p1",
"v1.8.11",
"SUDO_1_8_11",
"v1.8.10p3",
"SUDO_1_8_10p3",
"v1.8.10p2",
"SUDO_1_8_10p2",
"v1.8.10p1",
"SUDO_1_8_10p1",
"v1.8.10",
"SUDO_1_8_10",
"v1.8.9p5",
"SUDO_1_8_9p5",
"v1.8.9p4",
"SUDO_1_8_9p4",
"v1.8.9p3",
"SUDO_1_8_9p3",
"v1.8.9p2",
"SUDO_1_8_9p2",
"v1.8.9p1",
"SUDO_1_8_9p1",
"v1.8.9",
"SUDO_1_8_9",
"v1.8.8",
"SUDO_1_8_8",
"v1.8.7",
"SUDO_1_8_7",
"v1.8.6p8",
"SUDO_1_8_6p8",
"v1.8.6p7",
"SUDO_1_8_6p7",
"v1.8.6p6",
"SUDO_1_8_6p6",
"v1.8.6p5",
"SUDO_1_8_6p5",
"v1.8.6p4",
"SUDO_1_8_6p4",
"v1.8.6p3",
"SUDO_1_8_6p3",
"v1.8.6p2",
"SUDO_1_8_6p2",
"v1.8.6p1",
"SUDO_1_8_6p1",
"v1.8.6",
"SUDO_1_8_6",
"v1.8.5p3",
"SUDO_1_8_5p3",
"v1.8.5p2",
"SUDO_1_8_5p2",
"v1.8.5p1",
"SUDO_1_8_5p1",
"v1.8.5",
"SUDO_1_8_5",
"v1.8.4p5",
"SUDO_1_8_4p5",
"v1.8.4p4",
"SUDO_1_8_4p4",
"v1.8.4p3",
"SUDO_1_8_4p3",
"v1.8.4p2",
"SUDO_1_8_4p2",
"v1.8.4p1",
"SUDO_1_8_4p1",
"v1.8.4",
"SUDO_1_8_4",
"v1.8.3",
"SUDO_1_8_3",
"v1.8.2",
"SUDO_1_8_2",
"v1.8.1",
"SUDO_1_8_1",
"v1.8.0",
"SUDO_1_8_0",
"v1.7.2",
"SUDO_1_7_2",
"v1.7.1",
"SUDO_1_7_1",
"v1.7.0",
"SUDO_1_7_0",
"v1.6.8p1",
"SUDO_1_6_8p1",
"v1.6.8",
"SUDO_1_6_8",
"v1.6.7",
"SUDO_1_6_7",
"v1.6.6",
"SUDO_1_6_6",
"v1.6.5",
"SUDO_1_6_5",
"v1.6.4",
"SUDO_1_6_4",
"v1.6.3",
"SUDO_1_6_3",
"v1.6.2",
"SUDO_1_6_2",
"v1.6.1",
"SUDO_1_6_1",
"v1.6.0",
"SUDO_1_6_0",
"v1.5.9",
"SUDO_1_5_9",
"v1.5.8",
"SUDO_1_5_8",
"v1.5.7",
"SUDO_1_5_7",
"v1.5.6",
"SUDO_1_5_6",
"v1.5.4",
"SUDO_1_5_4",
"v1.5.3",
"SUDO_1_5_3",
"v1.5.2",
"SUDO_1_5_2",
"v1.5.1",
"SUDO_1_5_1",
"v1.5.0",
"SUDO_1_5_0",
"v1.4.0",
"SUDO_1_4_0",
"v1.3.1",
"SUDO_1_3_1",
"v1.3.0",
"SUDO_1_3_0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-1000367.json"
}
}
],
"modified": "2026-10-24T10:31:03.410713471Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VXEXC4NNIG2QOZY6N2YUK246KI3D3UQO/",
"https://access.redhat.com/errata/RHSA-2017:1381",
"https://access.redhat.com/errata/RHSA-2017:1382",
"https://security.gentoo.org/glsa/201705-15",
"https://www.exploit-db.com/exploits/42183/",
"https://www.sudo.ws/alerts/linux_tty.html"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-1000367",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 440246,
"published_at": "2017-06-05T14:29:00.2+00:00"
}