VulnerabilityModified
CVE-2022-30688
needrestart 0.8 through 3.5 before 3.6 is prone to local privilege escalation.
HIGH 7.8EPSS 0.41%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.41%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.41% probability · 35th percentile
- CISA KEV
- Not listed
- Affected
- needrestart project/needrestart · debian/debian linux
- Source
- cve@mitre.org
References
- http://www.openwall.com/lists/oss-security/2022/05/17/9Mailing List, Third Party Advisory
- https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30Patch, Third Party Advisory
- https://github.com/liske/needrestart/releases/tag/v3.6Release Notes, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00024.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-security-announce/2022/msg00105.htmlMailing List, Third Party Advisory
- https://www.debian.org/security/2022/dsa-5137Third Party Advisory
- https://www.openwall.com/lists/oss-security/2022/05/17/9Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2024/Nov/15
- http://seclists.org/fulldisclosure/2024/Nov/17
- http://www.openwall.com/lists/oss-security/2022/05/17/9Mailing List, Third Party Advisory
- https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30Patch, Third Party Advisory
- https://github.com/liske/needrestart/releases/tag/v3.6Release Notes, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00024.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-security-announce/2022/msg00105.htmlMailing List, Third Party Advisory
- https://www.debian.org/security/2022/dsa-5137Third Party Advisory
- https://www.openwall.com/lists/oss-security/2022/05/17/9Mailing List, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.