CVE-2024-48992

High

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductNeedrestart
PublishedNov 19, 2024
First seenNov 19, 2024
Weakness typeCWE-427CWE-427

How to fix

Update
  • needrestart_project needrestart3.8 or later

Affected products

ProductAffected versionsFixed in
needrestart_project needrestartv < 3.83.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.