Vulnerability in Needrestart Project
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.004, 34.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Needrestart Project
- Debian Linux — versions 9.0, 10.0, 11.0
References
- github.com/liske/needrestart/releases/tag/v3.6 (Third Party Advisory, Release Notes)
- github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30 (Patch, Third Party Advisory)
- lists.debian.org/debian-security-announce/2022/msg00105.html (Mailing List, Third Party Advisory)
- www.openwall.com/lists/oss-security/2022/05/17/9 (Mailing List, Third Party Advisory)
- [oss-security] 20220517 CVE-2022-30688: needrestart 0.8+ local privilege escalation (mailing-list, Mailing List, Third Party Advisory)
- DSA-5137 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20220518 [SECURITY] [DLA 3013-1] needrestart security update (mailing-list, Mailing List, Third Party Advisory)
- seclists.org/fulldisclosure/2024/Nov/15
- seclists.org/fulldisclosure/2024/Nov/17