Vulnerability details

CVE-2024-48992

needrestart needrestartneedrestart_project needrestart
CVSS 3.1
7.8High

Official description

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.

CVSS scores

ScoreVersionSourceVector
7.8High 3.1 CVEProject cvelistV5 (CNA) (canonical) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
needrestart needrestart v < 3.8 CVEProject cvelistV5 (CNA)
needrestart_project needrestart v < 3.8 CISA ADP / Vulnrichment

References and advisories

6
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2024-11-19
Last updated
2025-11-04
State
Published
Assigner (CNA)
canonical

Exploit prediction (EPSS)

7.95%
Probability of exploitation in 30 days
94.7%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
None
Technical impact
Total

Weaknesses (CWE)

  • CWE-427
    Uncontrolled Search Path Element