CVE-2022-30688
HIGH7.8EPSS 0.05%needrestart - security update
Published: 5/17/2022Modified: 4/28/2026
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.
Affected packages (3)
- Debian/needrestartfrom 0, < 3.5-4+deb11u1
- Debian/needrestartfrom 0, < 2.11-3+deb9u2
- Debian/needrestartfrom 0, < 3.4-5+deb10u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |