Debian dla-3957 : needrestart - security update

high Nessus Plugin ID 211606

Synopsis

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

Description

The remote Debian 11 host has a package installed that is affected by multiple vulnerabilities as referenced in the dla-3957 advisory.

- ------------------------------------------------------------------------- Debian LTS Advisory DLA-3957-1 [email protected] https://www.debian.org/lts/security/ Salvatore Bonaccorso November 19, 2024 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package : needrestart Version : 3.5-4+deb11u4 CVE ID : CVE-2024-11003 CVE-2024-48990 CVE-2024-48991 CVE-2024-48992

The Qualys Threat Research Unit discovered several local privilege escalation vulnerabilities in needrestart, a utility to check which daemons need to be restarted after library upgrades. A local attacker can execute arbitrary code as root by tricking needrestart into running the Python interpreter with an attacker-controlled PYTHONPATH environment variable (CVE-2024-48990) or running the Ruby interpreter with an attacker-controlled RUBYLIB environment variable (CVE-2024-48992). Additionally a local attacker can trick needrestart into running a fake Python interpreter (CVE-2024-48991) or cause needrestart to call the Perl module Module::ScanDeps with attacker-controlled files (CVE-2024-11003).

Details can be found in the Qualys advisory at https://www.qualys.com/2024/11/19/needrestart/needrestart.txt

For Debian 11 bullseye, these problems have been fixed in version 3.5-4+deb11u4.

We recommend that you upgrade your needrestart packages.

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

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 needrestart packages.

See Also

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

https://security-tracker.debian.org/tracker/CVE-2024-11003

https://security-tracker.debian.org/tracker/CVE-2024-48990

https://security-tracker.debian.org/tracker/CVE-2024-48991

https://security-tracker.debian.org/tracker/CVE-2024-48992

https://packages.debian.org/source/bullseye/needrestart

Plugin Details

Severity: High

ID: 211606

File Name: debian_DLA-3957.nasl

Version: 1.1

Type: local

Agent: unix

Published: 11/19/2024

Updated: 11/19/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2024-48992

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: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:needrestart

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

Exploit Ease: No known exploits are available

Patch Publication Date: 11/19/2024

Vulnerability Publication Date: 11/19/2024

Reference Information

CVE: CVE-2024-11003, CVE-2024-48990, CVE-2024-48991, CVE-2024-48992