openSUSE Security Update : sudo (openSUSE-2021-170)

high Nessus Plugin ID 145525

Language:

Synopsis

The remote openSUSE host is missing a security update.

Description

This update for sudo fixes the following issues :

- A Heap-based buffer overflow in sudo could be exploited to allow a user to gain root privileges [bsc#1181090,CVE-2021-3156]

- It was possible for a user to test for the existence of a directory due to a Race Condition in `sudoedit` [bsc#1180684,CVE-2021-23239]

- A Possible Symlink Attack vector existed in `sudoedit` if SELinux was running in permissive mode [bsc#1180685, CVE-2021-23240]

- It was possible for a User to enable Debug Settings not Intended for them [bsc#1180687]

This update was imported from the SUSE:SLE-15:Update update project.

Solution

Update the affected sudo packages.

See Also

https://bugzilla.opensuse.org/show_bug.cgi?id=1180684

https://bugzilla.opensuse.org/show_bug.cgi?id=1180685

https://bugzilla.opensuse.org/show_bug.cgi?id=1180687

https://bugzilla.opensuse.org/show_bug.cgi?id=1181090

Plugin Details

Severity: High

ID: 145525

File Name: openSUSE-2021-170.nasl

Version: 1.11

Type: local

Agent: unix

Published: 1/28/2021

Updated: 1/18/2023

Supported Sensors: Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Critical

Score: 9.7

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 6.3

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

CVSS Score Source: CVE-2021-3156

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: CVSS:3.0/E:H/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:novell:opensuse:sudo-debuginfo, p-cpe:/a:novell:opensuse:sudo-test, p-cpe:/a:novell:opensuse:sudo-devel, cpe:/o:novell:opensuse:15.2, p-cpe:/a:novell:opensuse:sudo, p-cpe:/a:novell:opensuse:sudo-debugsource

Required KB Items: Host/local_checks_enabled, Host/SuSE/release, Host/SuSE/rpm-list, Host/cpu

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/27/2021

Vulnerability Publication Date: 1/12/2021

CISA Known Exploited Vulnerability Due Dates: 4/27/2022

Exploitable With

CANVAS (CANVAS)

Core Impact

Metasploit (Sudo Heap-Based Buffer Overflow)

Reference Information

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

IAVA: 2021-A-0053