VDB

CVE-2024-48991

CVE-2024-48991 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 winning a race condition and tricking needrestart into running their own, fake Python interpreter (instead of the system's real Python interpreter). The initial security fix (6ce6136) introduced a regression which was subsequently resolved (42af5d3).

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 (15 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 (9 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-48991
vulnetix vdb fixes CVE-2024-48991

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