CVE-2022-30688
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
17/05/2022
Last modified:
03/11/2025
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.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Base Score 2.0
4.60
Severity 2.0
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:needrestart_project:needrestart:*:*:*:*:*:*:*:* | 0.8 (including) | 3.6 (excluding) |
| 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:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- http://www.openwall.com/lists/oss-security/2022/05/17/9
- https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30
- https://github.com/liske/needrestart/releases/tag/v3.6
- https://lists.debian.org/debian-lts-announce/2022/05/msg00024.html
- https://lists.debian.org/debian-security-announce/2022/msg00105.html
- https://www.debian.org/security/2022/dsa-5137
- https://www.openwall.com/lists/oss-security/2022/05/17/9
- http://seclists.org/fulldisclosure/2024/Nov/15
- http://seclists.org/fulldisclosure/2024/Nov/17
- http://www.openwall.com/lists/oss-security/2022/05/17/9
- https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30
- https://github.com/liske/needrestart/releases/tag/v3.6
- https://lists.debian.org/debian-lts-announce/2022/05/msg00024.html
- https://lists.debian.org/debian-security-announce/2022/msg00105.html
- https://www.debian.org/security/2022/dsa-5137
- https://www.openwall.com/lists/oss-security/2022/05/17/9



