Live threats

All CVEs / Needrestart Project

CVE-2022-30688Needrestart Project Needrestart

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.4%
probability of exploitation in 30 days · percentile 29
Auth required
Yes
Published
May 17, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Needrestart.

Affected products (CPE)

VendorProductVersions
needrestart_projectneedrestart≥ 0.8 < 3.6
debiandebian_linux9.0
debiandebian_linux10.0
debiandebian_linux11.0

Official sources

References

Links published by the sources. Open them with care.