USN-7117-1

Type: Security
Severity: High
Published: 2024-11-19
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 24.04 LTS (Noble Numbat)

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) Update Instructions: Run `sudo pro fix USN-7117-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libmodule-scandeps-perl - 1.31-1ubuntu0.1 No subscription required needrestart - 3.5-5ubuntu2.2 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T02:49:42.558Z UTC

Official vendor advisory

Ubuntu 22.04 LTS (Jammy Jellyfish)

View source
Observed 2026-11-28T02:49:42.558Z UTC. Last updated 2025-11-26T08:36:19.064Z UTC.

Upstream Advisory

Affected Packages

  • libmodule-scandeps-perl 1.31-1ubuntu0.1-1.31-1ubuntu0.1

  • libmodule-scandeps-perl 1.27-1ubuntu0.1~esm1-1.27-1ubuntu0.1~esm1

  • libmodule-scandeps-perl 1.35-1ubuntu0.24.04.1-1.35-1ubuntu0.24.04.1

Interested in being alerted when there are new versions of libmodule-scandeps-perl and the other packages? Set up an alert.
USN-7117-1: needrestart and Module::ScanDeps vulnerabilities | Package Alert