CVE-2022-30688 Privilege escalation in n/a
Local attackers can escalate privileges via unanchored regexes in needrestart when it detects interpreters using old source files.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-30688?
CVE-2022-30688 is a high-severity vulnerability in Debian Debian Linux, published on 17 May 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2022-30688?
It affects 2 products.
Products include Debian Debian Linux, Needrestart Project Needrestart.
How do I fix CVE-2022-30688?
Upgrade to a fixed version.
Is CVE-2022-30688 being exploited?
There is no known exploitation of CVE-2022-30688 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as CLSA-2025-1764324770, DEBIAN-CVE-2022-30688, DLA-3013-1, DSA-5137-1, GHSA-6qgc-vw4g-mxw4, UBUNTU-CVE-2022-30688 and 1 more.