Debian dsa-5954 : libnss-sudo - security update

high Nessus Plugin ID 240958

Synopsis

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

Description

The remote Debian 12 host has packages installed that are affected by a vulnerability as referenced in the dsa-5954 advisory.

- ------------------------------------------------------------------------- Debian Security Advisory DSA-5954-1 [email protected] https://www.debian.org/security/ Salvatore Bonaccorso June 30, 2025 https://www.debian.org/security/faq
- -------------------------------------------------------------------------

Package : sudo CVE ID : CVE-2025-32462

Rich Mirch discovered that sudo, a program designed to provide limited super user privileges to specific users, does not correctly handle the host (-h or --host) option. Due to a bug the host option was not restricted to listing privileges only and could be used when running a command via sudo or editing a file with sudoedit. Depending on the rules present in the sudoers file the flaw might allow a local privilege escalation attack.

For the stable distribution (bookworm), this problem has been fixed in version 1.9.13p3-1+deb12u2.

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 Security Advisories, how to apply these updates to your system and frequently asked questions can be found at: https://www.debian.org/security/

Mailing list: [email protected]

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

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 libnss-sudo packages.

See Also

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

https://security-tracker.debian.org/tracker/CVE-2025-32462

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

Plugin Details

Severity: High

ID: 240958

File Name: debian_DSA-5954.nasl

Version: 1.2

Type: local

Agent: unix

Published: 6/30/2025

Updated: 7/4/2025

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

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

CVSS Score Source: CVE-2025-32462

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

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:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:sudo-ldap, p-cpe:/a:debian:debian_linux:libnss-sudo, cpe:/o:debian:debian_linux:12.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: 6/30/2025

Vulnerability Publication Date: 6/30/2025

Reference Information

CVE: CVE-2025-32462

IAVA: 2025-A-0465