CVE-2022-30688

7.8 HIGH
Published: May 17, 2022 Modified: November 03, 2025
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://www.openwall.com/lists/oss-security/2022/05/17/9
Source: cve@mitre.org
Mailing List Third Party Advisory
https://github.com/liske/needrestart/releases/tag/v3.6
Source: cve@mitre.org
Release Notes Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/05/msg00024.html
Source: cve@mitre.org
Mailing List Third Party Advisory
https://lists.debian.org/debian-security-announce/2022/msg00105.html
Source: cve@mitre.org
Mailing List Third Party Advisory
https://www.debian.org/security/2022/dsa-5137
Source: cve@mitre.org
Third Party Advisory
https://www.openwall.com/lists/oss-security/2022/05/17/9
Source: cve@mitre.org
Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2024/Nov/15
Source: af854a3a-2127-422b-91ae-364da2661108
http://seclists.org/fulldisclosure/2024/Nov/17
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2022/05/17/9
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Third Party Advisory
https://github.com/liske/needrestart/releases/tag/v3.6
Source: af854a3a-2127-422b-91ae-364da2661108
Release Notes Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/05/msg00024.html
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
https://lists.debian.org/debian-security-announce/2022/msg00105.html
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
https://www.debian.org/security/2022/dsa-5137
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://www.openwall.com/lists/oss-security/2022/05/17/9
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory

16 reference(s) from NVD

Quick Stats

CVSS v3 Score
7.8 / 10.0
EPSS (Exploit Probability)
0.1%
16th percentile
Exploitation Status
Not in CISA KEV

Affected Vendors

needrestart_project debian