Advisory

DEBIAN-CVE-2024-48991

Also known as: CVE-2024-48991

Summary

The record has no summary.

Details

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).

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2024-11-19 18:15 UTC
Modified
2026-11-02 12:03 UTC

Affected packages and fixes

needrestart

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 3.6-4+deb12u2 (ecosystem)

Fixed versions

3.6-4+deb12u2

Fix

  • Fixed version 3.6-4+deb12u2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

needrestart

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 3.7-3.1 (ecosystem)

Fixed versions

3.7-3.1

Fix

  • Fixed version 3.7-3.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

needrestart

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 3.7-3.1 (ecosystem)

Fixed versions

3.7-3.1

Fix

  • Fixed version 3.7-3.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences