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
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| needrestart | <3.8 | 3.8 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket