Debian DLA-3013-1 : needrestart - LTS security update

high Nessus Plugin ID 161398

Synopsis

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

Description

The remote Debian 9 host has a package installed that is affected by a vulnerability as referenced in the dla-3013 advisory.

- needrestart 0.8 through 3.5 before 3.6 is prone to local privilege escalation. Regexes to detect the Perl, Python, and Ruby interpreters are not anchored, allowing a local user to escalate privileges when needrestart tries to detect if interpreters are using old source files. (CVE-2022-30688)

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

For Debian 9 stretch, this problem has been fixed in version 2.11-3+deb9u2.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011154

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

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

https://security-tracker.debian.org/tracker/CVE-2022-30688

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

Plugin Details

Severity: High

ID: 161398

File Name: debian_DLA-3013.nasl

Version: 1.2

Type: local

Agent: unix

Published: 5/20/2022

Updated: 5/20/2022

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

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

CVSS Score Source: CVE-2022-30688

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 5/18/2022

Vulnerability Publication Date: 5/17/2022

Reference Information

CVE: CVE-2022-30688