TROYANOSYVIRUS
Back to CVEs

CVE-2022-30688

HIGH
7.8

Description

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 Details

CVSS v3.1 Score7.8
SeverityHIGH
CVSS VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack VectorLOCAL
ComplexityLOW
Privileges RequiredLOW
User InteractionNONE
Published5/17/2022
Last Modified11/3/2025
Sourcenvd
Honeypot Sightings0

Affected Products

debian:debian_linuxneedrestart_project:needrestart

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.