Vulnerability identifier: #VU63356
Vulnerability risk: Low
CVSSv4.0: 5.9 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]
CVE-ID:
CWE-ID:
CWE-20
Exploitation vector: Local
Exploit availability: No
Vulnerable software:
needrestart
Universal components / Libraries /
Libraries used by multiple products
Vendor: liske (Thomas Liske)
Description
The vulnerability allows a local user to execute arbitrary code with elevated privileges.
The vulnerability exists due to application uses incorrect regexes to detect Perl, Python, and Ruby interpreters. A local user can pass specially crafted data to the application and execute arbitrary code with elevated privileges.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
needrestart: 0.8 - 3.5
External links
https://www.openwall.com/lists/oss-security/2022/05/17/9
https://github.com/liske/needrestart/releases/tag/v3.6
https://lists.debian.org/debian-security-announce/2022/msg00105.html
https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30
Can this vulnerability be exploited remotely?
No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.