GLSA-202101-33 : sudo: Multiple vulnerabilities

high Nessus Plugin ID 145477
New! Plugin Severity Now Using CVSS v3

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

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-202101-33 (sudo: Multiple vulnerabilities)

Multiple vulnerabilities have been discovered in sudo. Please review the CVE identifiers referenced below for details.
Impact :

Local users are able to gain unauthorized privileges on the system or determine the existence of files.
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.9.5_p2'

See Also

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

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

https://security.gentoo.org/glsa/202101-33

Plugin Details

Severity: High

ID: 145477

File Name: gentoo_GLSA-202101-33.nasl

Version: 1.7

Type: local

Published: 1/27/2021

Updated: 3/15/2021

Dependencies: ssh_get_info.nasl

Risk Information

CVSS Score Source: CVE-2021-3156

VPR

Risk Factor: Critical

Score: 9.8

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 6.3

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

Temporal Vector: E:H/RL:OF/RC:C

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7.5

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

Temporal Vector: E:H/RL:O/RC:C

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/26/2021

Vulnerability Publication Date: 1/12/2021

Exploitable With

Metasploit (Sudo Heap-Based Buffer Overflow)

Reference Information

CVE: CVE-2021-23239, CVE-2021-23240, CVE-2021-3156

GLSA: 202101-33

IAVA: 2021-A-0053