SUSE SLES12 Security Update : sudo (SUSE-SU-2021:0225-1)

high Nessus Plugin ID 145479

Language:

Synopsis

The remote SUSE host is missing one or more security updates.

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]

Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or 'zypper patch'.

Alternatively you can run the command listed for your product :

SUSE Linux Enterprise Software Development Kit 12-SP5 :

zypper in -t patch SUSE-SLE-SDK-12-SP5-2021-225=1

SUSE Linux Enterprise Server 12-SP5 :

zypper in -t patch SUSE-SLE-SERVER-12-SP5-2021-225=1

See Also

https://bugzilla.suse.com/show_bug.cgi?id=1180684

https://bugzilla.suse.com/show_bug.cgi?id=1180685

https://bugzilla.suse.com/show_bug.cgi?id=1180687

https://bugzilla.suse.com/show_bug.cgi?id=1181090

https://www.suse.com/security/cve/CVE-2021-23239/

https://www.suse.com/security/cve/CVE-2021-23240/

https://www.suse.com/security/cve/CVE-2021-3156/

http://www.nessus.org/u?a6047604

Plugin Details

Severity: High

ID: 145479

File Name: suse_SU-2021-0225-1.nasl

Version: 1.11

Type: local

Agent: unix

Published: 1/27/2021

Updated: 1/18/2023

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, 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:suse_linux:sudo-debugsource, p-cpe:/a:novell:suse_linux:sudo, p-cpe:/a:novell:suse_linux:sudo-debuginfo, cpe:/o:novell:suse_linux:12

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/26/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