CVE-2022-30688
Needrestart Project Needrestart vulnerability
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.
Affected products
Needrestart, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Needrestart Project Needrestart runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30 · Patch
- www.openwall.com/lists/oss-security/2022/05/17/9 · Third Party Advisory
- github.com/liske/needrestart/releases/tag/v3.6 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2022/05/msg00024.html · Third Party Advisory
- lists.debian.org/debian-security-announce/2022/msg00105.html · Third Party Advisory
- www.debian.org/security/2022/dsa-5137 · Third Party Advisory
- www.openwall.com/lists/oss-security/2022/05/17/9 · Third Party Advisory
- seclists.org/fulldisclosure/2024/Nov/15
- nvd.nist.gov/vuln/detail/CVE-2022-30688
- cve.org/CVERecord?id=CVE-2022-30688
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.