---
title: "CVE-2022-30688"
canonical_url: "https://pkgseek.com/security/CVE-2022-30688"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2022-30688

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.

CVE-2022-30688 严重级别为 HIGH (7.8)，共索引 1 条受影响软件包构建记录，涉及 1 个发行版。

- **级别 / 评分**: HIGH (7.8)
- **受影响构建数**: 1
- **涉及发行版**: 1
- **已标明修复版本发行版**: Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | jammy | needrestart | 3.5-5ubuntu2 | 3.5-5ubuntu2.1 |
