CVE-2022-30688
Last modified
CVE-2022-30688 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.40% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Needrestart Project | Needrestart | >= 0.8, < 3.6 |
| Debian | Debian Linux | 9.0 |
| Debian | Debian Linux | 10.0 |
| Debian | Debian Linux | 11.0 |
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://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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-30688?
How severe is CVE-2022-30688?
How do I fix CVE-2022-30688?
Are you affected by CVE-2022-30688?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
