GLSA-201710-04 : sudo: Privilege escalation

high Nessus Plugin ID 103722

Synopsis

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

Description

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.

Solution

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

See Also

https://security.gentoo.org/glsa/201705-15

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

Plugin Details

Severity: High

ID: 103722

File Name: gentoo_GLSA-201710-04.nasl

Version: 3.6

Type: local

Published: 10/9/2017

Updated: 1/11/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.5

CVSS v2

Risk Factor: High

Base Score: 7.2

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

CVSS v3

Risk Factor: High

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: cpe:/o:gentoo:linux, p-cpe:/a:gentoo:linux:sudo

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

Patch Publication Date: 10/8/2017

Reference Information

CVE: CVE-2017-1000368

GLSA: 201710-04