CVE-2017-1000368

high
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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.

References

http://www.securityfocus.com/bid/98838

https://access.redhat.com/errata/RHSA-2017:1574

https://kc.mcafee.com/corporate/index?page=content&id=SB10205

https://security.gentoo.org/glsa/201710-04

https://usn.ubuntu.com/3968-1/

https://usn.ubuntu.com/3968-2/

https://www.sudo.ws/alerts/linux_tty.html

Details

Source: MITRE

Published: 2017-06-05

Updated: 2019-05-29

Type: CWE-20

Risk Information

CVSS v2

Base Score: 7.2

Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C

Impact Score: 10

Exploitability Score: 3.9

Severity: HIGH

CVSS v3

Base Score: 8.2

Vector: CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Impact Score: 6

Exploitability Score: 1.5

Severity: HIGH

Vulnerable Software

Configuration 1

OR

cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:* versions up to 1.8.20 (inclusive)

cpe:2.3:a:sudo_project:sudo:1.8.20:p1:*:*:*:*:*:*

Tenable Plugins

View all (27 total)

IDNameProductFamilySeverity
147406NewStart CGSL MAIN 4.06 : sudo Multiple Vulnerabilities (NS-SA-2021-0001)NessusNewStart CGSL Local Security Checks
high
140359EulerOS Virtualization for ARM 64 3.0.2.0 : sudo (EulerOS-SA-2020-1989)NessusHuawei Local Security Checks
high
129851Amazon Linux 2 : sudo (ALAS-2019-1315)NessusAmazon Linux Local Security Checks
high
127331NewStart CGSL MAIN 4.05 : sudo Vulnerability (NS-SA-2019-0102)NessusNewStart CGSL Local Security Checks
high
125593Ubuntu 14.04 LTS : sudo vulnerability (USN-3968-2)NessusUbuntu Local Security Checks
high
124952EulerOS Virtualization 3.0.1.0 : sudo (EulerOS-SA-2019-1449)NessusHuawei Local Security Checks
high
124679Ubuntu 16.04 LTS : sudo vulnerabilities (USN-3968-1)NessusUbuntu Local Security Checks
high
121703Photon OS 1.0: Sudo PHSA-2017-0021NessusPhotonOS Local Security Checks
high
111870Photon OS 1.0: Bindutils / Krb5 / Ruby / Sudo / Zlib PHSA-2017-0021 (deprecated)NessusPhotonOS Local Security Checks
high
103722GLSA-201710-04 : sudo: Privilege escalationNessusGentoo Local Security Checks
high
102496McAfee Web Gateway 7.6.x < 7.6.2.15 / 7.7.x < 7.7.2.3 Multiple Vulnerabilities (SB10205)NessusMisc.
critical
102063OracleVM 3.2 : sudo (OVMSA-2017-0125)NessusOracleVM Local Security Checks
high
101486Virtuozzo 6 : sudo / sudo-devel (VZLSA-2017-1574)NessusVirtuozzo Local Security Checks
high
101309EulerOS 2.0 SP2 : sudo (EulerOS-SA-2017-1121)NessusHuawei Local Security Checks
high
101308EulerOS 2.0 SP1 : sudo (EulerOS-SA-2017-1120)NessusHuawei Local Security Checks
high
101272Amazon Linux AMI : sudo (ALAS-2017-855)NessusAmazon Linux Local Security Checks
high
101230SUSE SLES12 Security Update : sudo (SUSE-SU-2017:1778-1)NessusSuSE Local Security Checks
high
101225SUSE SLED12 / SLES12 Security Update : sudo (SUSE-SU-2017:1771-1)NessusSuSE Local Security Checks
high
101210Debian DLA-1011-1 : sudo security updateNessusDebian Local Security Checks
high
101137openSUSE Security Update : sudo (openSUSE-2017-744)NessusSuSE Local Security Checks
high
101041Scientific Linux Security Update : sudo on SL6.x, SL7.x i386/x86_64 (20170623)NessusScientific Linux Local Security Checks
high
101040OracleVM 3.3 / 3.4 : sudo (OVMSA-2017-0114)NessusOracleVM Local Security Checks
high
101023RHEL 6 / 7 : sudo (RHSA-2017:1574)NessusRed Hat Local Security Checks
high
101022Oracle Linux 6 / 7 : sudo (ELSA-2017-1574)NessusOracle Linux Local Security Checks
high
101005CentOS 6 / 7 : sudo (CESA-2017:1574)NessusCentOS Local Security Checks
high
100953SUSE SLES12 Security Update : sudo (SUSE-SU-2017:1627-1)NessusSuSE Local Security Checks
high
100952SUSE SLED12 / SLES12 Security Update : sudo (SUSE-SU-2017:1626-1)NessusSuSE Local Security Checks
high