CVE-2022-30688

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.

Risk Information

Base Score
7.8
MODERATE
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
Exploitation Probability
0.051

Associated Vulnerability

VulnerabilityOS Platform
needrestart security update(DSA-5137-1) needrestart_3.4-5+deb10u1_all.debLinux
needrestart security update(DSA-5137-1) needrestart_3.5-4+deb11u1_all.debLinux
check which daemons need to be restarted after library upgrades (USN-5426-1) needrestart_3.1-1ubuntu0.1_all.debLinux
check which daemons need to be restarted after library upgrades (USN-5426-1) needrestart_3.4-6ubuntu0.1_all.debLinux
check which daemons need to be restarted after library upgrades (USN-5426-1) needrestart_3.5-4ubuntu2.1_all.debLinux
check which daemons need to be restarted after library upgrades (USN-5426-1) needrestart_3.5-5ubuntu2.1_all.debLinux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234