Back
CVE-2022-30688needrestart 0.8 through 3.5 before 3.6 is prone to local privilege escalation. Regexes to detect the Perl, Python, and Ruby interpreters…
- 7.8HighCVSS base score
- 0.40%Exploitation in 30 daysEPSS · top 66% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By mitre
- 4 days later
· 4 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.40% · top 66% of all CVEs (15 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
n/a
- affected n/a
References
References9
- https://github.com/liske/needrestart/releases/tag/v3.6 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30 (opens in a new tab)x_refsource_MISCx_transferred
- https://lists.debian.org/debian-security-announce/2022/msg00105.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.openwall.com/lists/oss-security/2022/05/17/9 (opens in a new tab)x_refsource_MISCx_transferred
- [oss-security] 20220517 CVE-2022-30688: needrestart 0.8+ local privilege escalation (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- DSA-5137 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- [debian-lts-announce] 20220518 [SECURITY] [DLA 3013-1] needrestart security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://seclists.org/fulldisclosure/2024/Nov/17 (opens in a new tab)
- http://seclists.org/fulldisclosure/2024/Nov/15 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-52519 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-30688)Record last updated .