CVEvulnerability
CVE-2022-30688
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-05-17
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 4.6 MEDIUM — AV:L/AC:L/Au:N/C:P/I:P/A:P
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.
Affected configurations
• 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/9 Mailing List, Third Party Advisory
- https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30 Patch, Third Party Advisory
- https://github.com/liske/needrestart/releases/tag/v3.6 Release Notes, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00024.html Mailing List, Third Party Advisory
- https://lists.debian.org/debian-security-announce/2022/msg00105.html Mailing List, Third Party Advisory
- https://www.debian.org/security/2022/dsa-5137 Third Party Advisory
- https://www.openwall.com/lists/oss-security/2022/05/17/9 Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2024/Nov/15 seclists.org
- http://seclists.org/fulldisclosure/2024/Nov/17 seclists.org
- http://www.openwall.com/lists/oss-security/2022/05/17/9 Mailing List, Third Party Advisory
- https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30 Patch, Third Party Advisory
- https://github.com/liske/needrestart/releases/tag/v3.6 Release Notes, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00024.html Mailing List, Third Party Advisory
- https://lists.debian.org/debian-security-announce/2022/msg00105.html Mailing List, Third Party Advisory
- https://www.debian.org/security/2022/dsa-5137 Third Party Advisory
- https://www.openwall.com/lists/oss-security/2022/05/17/9 Mailing List, Third Party Advisory