VDB

CVE-2024-48992

CVE-2024-48992 PUBLISHED CVSS 7.8 HIGH

Reported by canonical · Published November 19, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
needrestartneedrestart_project3.8
needrestartneedrestart3.8

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
needrestartneedrestart0
needrestartneedrestart0
needrestart_projectneedrestart0

Timeline

  • Nov 19, 2024 Coalition ESS Score (29 in total, the first dated here)
  • Nov 19, 2024 CVE Published
  • Nov 20, 2024 EPSS Score (30 in total, the first dated here)
  • Nov 21, 2024 PoC Published (13 in total, the first dated here)
  • Nov 3, 2025 CVE Updated
  • Jun 2, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-48992
vulnetix vdb fixes CVE-2024-48992

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-48992/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›