# CVE-2024-48992: needrestart: Qualys discovered that needrestart, before version 3.8, allows localattackers to execute arbitrary code as root by tr...

CVE-2024-48992 is fixed in needrestart on 1 platform, first by needrestart 3.1-1ubuntu0.1+esm1, released November 19, 2024. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2024-48992
- Priority: High
- CVSS: 7.8 (High)
- EPSS: 0.0796
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Nov 19, 2024

## Description

Qualys discovered that needrestart, before version 3.8, allows localattackers to execute arbitrary code as root by tricking needrestart intorunning the Ruby interpreter with an attacker-controlled RUBYLIBenvironment variable.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | needrestart Debian 12.15 (bookworm) | 3.6-4+deb12u2 | [DEBIAN-CVE-2024-48992](https://patchblox.com/security/data/fix/linux/debian-cve-2024-48992.md) | Nov 19, 2024 |
| Linux | needrestart Debian 13.5 (trixie) | 3.7-3.1 | [DEBIAN-CVE-2024-48992](https://patchblox.com/security/data/fix/linux/debian-cve-2024-48992.md) | Nov 19, 2024 |
| Linux | needrestart Debian 14 | 3.7-3.1 | [DEBIAN-CVE-2024-48992](https://patchblox.com/security/data/fix/linux/debian-cve-2024-48992.md) | Nov 19, 2024 |
| Linux | needrestart Ubuntu 18.04.6 LTS (bionic) | 3.1-1ubuntu0.1+esm1 | [needrestart 3.1-1ubuntu0.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-needrestart-3.1-1ubuntu0.1-esm1.md) | Nov 19, 2024 |
| Linux | needrestart Ubuntu 20.04 LTS (focal) | 3.4-6ubuntu0.1+esm1 | [needrestart 3.4-6ubuntu0.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-needrestart-3.4-6ubuntu0.1-esm1.md) | Nov 19, 2024 |
| Linux | needrestart Ubuntu 22.04.1 LTS (jammy) | 3.5-5ubuntu2.2 | [needrestart 3.5-5ubuntu2.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-needrestart-3.5-5ubuntu2.2.md) | Nov 19, 2024 |
| Linux | needrestart Ubuntu 24.04.5 LTS (noble) | 3.6-7ubuntu4.3 | [needrestart 3.6-7ubuntu4.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-needrestart-3.6-7ubuntu4.3.md) | Nov 19, 2024 |
| Linux | needrestart Ubuntu 24.10 (oracular) | 3.6-8ubuntu4.2 | [needrestart 3.6-8ubuntu4.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-needrestart-3.6-8ubuntu4.2.md) | Jan 16, 2026 |
| Linux | needrestart Ubuntu 25.04 (plucky) | 3.6-8ubuntu6 | [needrestart 3.6-8ubuntu6](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-needrestart-3.6-8ubuntu6.md) | Jan 16, 2026 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
