Advisory

UBUNTU-CVE-2024-48990

Also known as: CVE-2024-48990

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 tricking needrestart into running the Python interpreter with an attacker-controlled PYTHONPATH environment variable.

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 16:00 UTC
Modified
2026-02-04 04:25 UTC

Affected packages and fixes

needrestart

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 3.5-5ubuntu2.2 (ecosystem)

Fixed versions

3.5-5ubuntu2.2

Fix

  • Fixed version 3.5-5ubuntu2.2
    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) · Ubuntu 24.04

Affected

  • introduced 0, fixed 3.6-7ubuntu4.3 (ecosystem)

Fixed versions

3.6-7ubuntu4.3

Fix

  • Fixed version 3.6-7ubuntu4.3
    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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences