7.8
HIGH
CVE-2022-30688
Needrestart Local Privilege Escalation Vulnerability
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.

INFO

Published Date :

May 17, 2022, 7:15 p.m.

Last Modified :

Aug. 8, 2023, 2:22 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2022-30688 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Needrestart_project needrestart
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-30688.

URL Resource
http://www.openwall.com/lists/oss-security/2022/05/17/9 Mailing List Third Party Advisory
https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30 Patch Third Party Advisory
https://github.com/liske/needrestart/releases/tag/v3.6 Release Notes Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/05/msg00024.html Mailing List Third Party Advisory
https://lists.debian.org/debian-security-announce/2022/msg00105.html Mailing List Third Party Advisory
https://www.debian.org/security/2022/dsa-5137 Third Party Advisory
https://www.openwall.com/lists/oss-security/2022/05/17/9 Mailing List Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-30688 vulnerability anywhere in the article.

  • seclists.org
Local Privilege Escalations in needrestart

Full Disclosure mailing list archives From: Qualys Security Advisory via Fulldisclosure <fulldisclosure () seclists org> Date: Tue, 19 Nov 2024 16:28:37 +0000 Qualys Security Advisory LPEs in needrest ... Read more

Published Date: Nov 21, 2024 (5 days, 7 hours ago)

The following table lists the changes that have been made to the CVE-2022-30688 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CWE Remap by [email protected]

    Aug. 08, 2023

    Action Type Old Value New Value
    Changed CWE CWE-269 NVD-CWE-Other
  • Initial Analysis by [email protected]

    May. 25, 2022

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.openwall.com/lists/oss-security/2022/05/17/9 No Types Assigned http://www.openwall.com/lists/oss-security/2022/05/17/9 Mailing List, Third Party Advisory
    Changed Reference Type https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30 No Types Assigned https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30 Patch, Third Party Advisory
    Changed Reference Type https://github.com/liske/needrestart/releases/tag/v3.6 No Types Assigned https://github.com/liske/needrestart/releases/tag/v3.6 Release Notes, Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2022/05/msg00024.html No Types Assigned https://lists.debian.org/debian-lts-announce/2022/05/msg00024.html Mailing List, Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-security-announce/2022/msg00105.html No Types Assigned https://lists.debian.org/debian-security-announce/2022/msg00105.html Mailing List, Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2022/dsa-5137 No Types Assigned https://www.debian.org/security/2022/dsa-5137 Third Party Advisory
    Changed Reference Type https://www.openwall.com/lists/oss-security/2022/05/17/9 No Types Assigned https://www.openwall.com/lists/oss-security/2022/05/17/9 Mailing List, Third Party Advisory
    Added CWE NIST CWE-269
    Added CPE Configuration OR *cpe:2.3:a:needrestart_project:needrestart:*:*:*:*:*:*:*:* versions from (including) 0.8 up to (excluding) 3.6
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    May. 18, 2022

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2022/dsa-5137 [No Types Assigned]
    Added Reference https://lists.debian.org/debian-lts-announce/2022/05/msg00024.html [No Types Assigned]
  • CVE Modified by [email protected]

    May. 17, 2022

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2022/05/17/9 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-30688 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-30688 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.04 }} 0.00%

score

0.05635

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability