VDB

CVE-2024-48990

CVE-2024-48990 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 Python interpreter with an attacker-controlled PYTHONPATH 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 (19 in total, the first dated here)
  • Nov 19, 2024 CVE Published
  • Nov 20, 2024 EPSS Score (30 in total, the first dated here)
  • Nov 20, 2024 PoC Published (57 in total, the first dated here)
  • Jun 2, 2026 Security Advisory
  • Jun 17, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-48990
vulnetix vdb fixes CVE-2024-48990

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-48990/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 ›