Advisory

USN-7117-3

Also known as: None

Summary

needrestart regression

Details

USN-7117-1 fixed vulnerabilities in needrestart. The update introduced a
regression in needrestart. This update fixes the problem for LXC
containers.

We apologize for the inconvenience.

Original advisory details:

Qualys discovered that needrestart passed unsanitized data to a library
(libmodule-scandeps-perl) which expects safe input. A local attacker could
possibly use this issue to execute arbitrary code as root.
(CVE-2024-11003)

Qualys discovered that the library libmodule-scandeps-perl incorrectly
parsed perl code. This could allow a local attacker to execute arbitrary
shell commands. (CVE-2024-10224)

Qualys discovered that needrestart incorrectly used the PYTHONPATH
environment variable to spawn a new Python interpreter. A local attacker
could possibly use this issue to execute arbitrary code as root.
(CVE-2024-48990)

Qualys discovered that needrestart incorrectly checked the path to the
Python interpreter. A local attacker could possibly use this issue to win
a race condition and execute arbitrary code as root. (CVE-2024-48991)

Qualys discovered that needrestart incorrectly used the RUBYLIB
environment variable to spawn a new Ruby interpreter. A local attacker
could possibly use this issue to execute arbitrary code as root.
(CVE-2024-48992)

Severity

Not rated by the source.

Dates

Published
2024-12-05 16:53 UTC
Modified
2026-06-25 13:32 UTC

Affected packages and fixes

needrestart

Debian packages (deb) · Ubuntu 22.04

Affected

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

Fixed versions

3.5-5ubuntu2.4

Fix

  • Fixed version 3.5-5ubuntu2.4
    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.5 (ecosystem)

Fixed versions

3.6-7ubuntu4.5

Fix

  • Fixed version 3.6-7ubuntu4.5
    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