GLSA-201710-04 : sudo: Privilege escalation

High Nessus Plugin ID 103722


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-201710-04 (sudo: Privilege escalation)

The fix present in app-admin/sudo-1.8.20_p1 (GLSA 201705-15) was incomplete as it did not address the problem of a command with a newline in the name.
Impact :

A local attacker could execute arbitrary code with root privileges.
Workaround :

There is no known workaround at this time.


All sudo users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-admin/sudo-1.8.20_p2'

See Also

Plugin Details

Severity: High

ID: 103722

File Name: gentoo_GLSA-201710-04.nasl

Version: 3.5

Type: local

Published: 2017/10/09

Updated: 2018/07/13

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.2

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

CVSS v3.0

Base Score: 8.2

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:sudo, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2017/10/08

Reference Information

CVE: CVE-2017-1000368

GLSA: 201710-04