CVE-2022-30688
mediumpriority · track · 31EPSS 0.004 · 34 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.6–7.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
- needrestart project needrestart0.8 → 3.6nvdUScpe:2.3:a:needrestart_project:needrestart:*:*:*:*:*:*:*:*
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (30)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2022/05/17/9cnnvd
- https://cxsecurity.com/cveshow/CVE-2022-30688/cnnvd
- https://cxsecurity.com/issue/WLB-2024110044cnnvd
- https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30cnnvd
- https://github.com/liske/needrestart/releases/tag/v3.6cnnvd
- https://lists.debian.org/debian-lts-announce/2022/05/msg00024.htmlcnnvd
- https://lists.debian.org/debian-security-announce/2022/msg00105.htmlcnnvd
- https://packetstormsecurity.com/files/167207/Ubuntu-Security-Notice-USN-5426-1.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan