Privilege escalation in needrestart



Published: 2022-05-18
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-30688
CWE-ID CWE-20
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
needrestart
Universal components / Libraries / Libraries used by multiple products

Vendor liske (Thomas Liske)

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Input validation error

EUVDB-ID: #VU63356

Risk: Low

CVSSv3.1: 6.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-30688

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

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

http://www.openwall.com/lists/oss-security/2022/05/17/9
http://github.com/liske/needrestart/releases/tag/v3.6
http://lists.debian.org/debian-security-announce/2022/msg00105.html
http://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30


Q & A

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.



###SIDEBAR###