CVE-2024-48992

published 19 Nov 2024 · updated 3 Nov 2025

Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by tricking needrestart…

7.8HighCVSS 7.8EPSS 8%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 8%. Fixed in 3.8.

Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by tricking needrestart into running the Ruby interpreter with an attacker-controlled RUBYLIB environment variable.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
needrestart<3.83.8

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-48992 severity on Zeptric[![CVE-2024-48992](https://zeptric.io/badge/cve/CVE-2024-48992.svg)](https://zeptric.io/cve/CVE-2024-48992)