Vulnerability Details : CVE-2022-30688
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.
Vulnerability category: Gain privilege
Products affected by CVE-2022-30688
- 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:*:*:*:*:*:*:*
- cpe:2.3:a:needrestart_project:needrestart:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-30688
0.04%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 6 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-30688
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.6
|
MEDIUM | AV:L/AC:L/Au:N/C:P/I:P/A:P |
3.9
|
6.4
|
NIST | |
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST |
CWE ids for CVE-2022-30688
-
The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-30688
-
https://lists.debian.org/debian-security-announce/2022/msg00105.html
[SECURITY] [DSA 5137-1] needrestart security updateMailing List;Third Party Advisory
-
https://lists.debian.org/debian-lts-announce/2022/05/msg00024.html
[SECURITY] [DLA 3013-1] needrestart security updateMailing List;Third Party Advisory
-
https://www.debian.org/security/2022/dsa-5137
Debian -- Security Information -- DSA-5137-1 needrestartThird Party Advisory
-
https://www.openwall.com/lists/oss-security/2022/05/17/9
oss-security - CVE-2022-30688: needrestart 0.8+ local privilege escalationMailing List;Third Party Advisory
-
https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30
[Interp] CVE-2022-30688: Anchor interpreter regex to prevent local pr… · liske/needrestart@e6e5813 · GitHubPatch;Third Party Advisory
-
http://www.openwall.com/lists/oss-security/2022/05/17/9
oss-security - CVE-2022-30688: needrestart 0.8+ local privilege escalationMailing List;Third Party Advisory
-
https://github.com/liske/needrestart/releases/tag/v3.6
Release v3.6 · liske/needrestart · GitHubRelease Notes;Third Party Advisory
Jump to