CVE-2022-30688
CVE-2022-30688
CVSS 7.8 · High · EPSS 0.4% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- needrestart Debian 12Update to 3.6-1
- needrestart Debian 13Update to 3.6-1
- needrestart Debian 14Update to 3.6-1
- needrestart Ubuntu Pro 16.04 LTSNo fix published
- and 3 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="needrestart"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- DLA-3013-1 · Debian 9 ·
- USN-5426-1 · Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS ·
- DSA-5137-1 · Debian 10, Debian 11 ·
Stack: system
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
needrestart Debian 12
- Affected ranges
- ECOSYSTEM: < 3.6-1
Update to 3.6-1
needrestart Debian 13
- Affected ranges
- ECOSYSTEM: < 3.6-1
Update to 3.6-1
needrestart Debian 14
- Affected ranges
- ECOSYSTEM: < 3.6-1
Update to 3.6-1
needrestart Ubuntu Pro 16.04 LTS
- Versions
- 2.1-1
- 2.3-2
- 2.4-1
- 2.5-1
- 2.6-1
- 2.6-1ubuntu0.1~esm1
All versions (9)
- 2.6-1ubuntu0.1~esm2
- 2.6-1ubuntu0.1~esm3
- 2.6-1ubuntu0.1~esm4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
needrestart Ubuntu 18.04 LTS
- Versions
- 2.11-4
- 3.0-1
- 3.1-1
- Affected ranges
- ECOSYSTEM: < 3.1-1ubuntu0.1
Update to 3.1-1ubuntu0.1
needrestart Ubuntu 20.04 LTS
- Versions
- 3.4-5
- 3.4-6
- Affected ranges
- ECOSYSTEM: < 3.4-6ubuntu0.1
Update to 3.4-6ubuntu0.1
needrestart Ubuntu 22.04 LTS
- Versions
- 3.5-4ubuntu2
- 3.5-5ubuntu1
- 3.5-5ubuntu2
- Affected ranges
- ECOSYSTEM: < 3.5-5ubuntu2.1
Update to 3.5-5ubuntu2.1
Original sources
- https://github.com/liske/needrestart/releases/tag/v3.6
- https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30
- https://lists.debian.org/debian-security-announce/2022/msg00105.html
- https://www.openwall.com/lists/oss-security/2022/05/17/9
- http://www.openwall.com/lists/oss-security/2022/05/17/9
- https://www.debian.org/security/2022/dsa-5137
- https://lists.debian.org/debian-lts-announce/2022/05/msg00024.html
- http://seclists.org/fulldisclosure/2024/Nov/17
- http://seclists.org/fulldisclosure/2024/Nov/15
- https://nvd.nist.gov/vuln/detail/CVE-2022-30688