Debian dla-3732 : sudo - security update

high Nessus Plugin ID 189972

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 10 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-3732 advisory.

- ------------------------------------------------------------------------- Debian LTS Advisory DLA-3732-1 [email protected] https://www.debian.org/lts/security/ Bastien Roucaris February 03, 2024 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package : sudo Version : 1.8.27-1+deb10u6 CVE ID : CVE-2023-7090 CVE-2023-28486 CVE-2023-28487

Sudo, a program designed to allow a sysadmin to give limited root privileges to users and log root activity, was vulnerable.

CVE-2023-7090

A flaw was found in sudo in the handling of ipa_hostname, where ipa_hostname from /etc/sssd/sssd.conf was not propagated in sudo.
Therefore, it leads to privilege mismanagement vulnerability in applications, where client hosts retain privileges even after retracting them.

CVE-2023-28486

Sudo did not escape control characters in log messages.

CVE-2023-28487

Sudo did not escape control characters in sudoreplay output.

For Debian 10 buster, these problems have been fixed in version 1.8.27-1+deb10u6.

We recommend that you upgrade your sudo packages.

For the detailed security status of sudo please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/sudo

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian security advisory.

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

Solution

Upgrade the sudo packages.

See Also

https://security-tracker.debian.org/tracker/source-package/sudo

https://security-tracker.debian.org/tracker/CVE-2023-28486

https://security-tracker.debian.org/tracker/CVE-2023-28487

https://security-tracker.debian.org/tracker/CVE-2023-7090

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

Plugin Details

Severity: High

ID: 189972

File Name: debian_DLA-3732.nasl

Version: 1.2

Type: local

Agent: unix

Published: 2/3/2024

Updated: 1/22/2025

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

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

CVSS Score Source: CVE-2023-7090

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

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

Temporal Vector: CVSS:3.0/E:U/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 Ease: No known exploits are available

Patch Publication Date: 2/3/2024

Vulnerability Publication Date: 3/2/2023

Reference Information

CVE: CVE-2023-28486, CVE-2023-28487, CVE-2023-7090

IAVA: 2023-A-0121-S