Debian DLA-3181-1 : sudo - LTS security update

low Nessus Plugin ID 167055

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 10 host has packages installed that are affected by a vulnerability as referenced in the dla-3181 advisory.

- The sudoedit personality of Sudo before 1.9.5 may allow a local unprivileged user to perform arbitrary directory-existence tests by winning a sudo_edit.c race condition in replacing a user-controlled directory by a symlink to an arbitrary path. (CVE-2021-23239)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the sudo packages.

For Debian 10 Buster, this problem has been fixed in version 1.8.27-1+deb10u4.

See Also

https://www.debian.org/lts/security/2022/dla-3181

https://security-tracker.debian.org/tracker/CVE-2021-23239

https://packages.debian.org/source/buster/sudo

Plugin Details

Severity: Low

ID: 167055

File Name: debian_DLA-3181.nasl

Version: 1.3

Type: local

Agent: unix

Published: 11/7/2022

Updated: 10/5/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 2.2

CVSS v2

Risk Factor: Low

Base Score: 1.9

Temporal Score: 1.5

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

CVSS Score Source: CVE-2021-23239

CVSS v3

Risk Factor: Low

Base Score: 2.5

Temporal Score: 2.3

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:sudo-ldap, cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:sudo

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/7/2022

Vulnerability Publication Date: 1/12/2021

Reference Information

CVE: CVE-2021-23239

IAVA: 2021-A-0053