p PatchFirst

USN-7117-1

USN-7117-1 · Ubuntu security update: Several security issues were fixed in needrestart and Module::ScanDeps

Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="libmodule-scandeps-perl"'
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="needrestart"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from the distribution’s bulletin. Check the original advisory before installing the update.

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)

Published
Updated

Vulnerabilities closed

Stack: system

Updated packages and versions

  • libmodule-scandeps-perl Ubuntu Pro 16.04 LTS

    Versions
    • 1.19-1
    • 1.20-1
    Affected ranges
    • ECOSYSTEM: < 1.20-1ubuntu0.1~esm1

    Update to 1.20-1ubuntu0.1~esm1

  • needrestart Ubuntu Pro 16.04 LTS

    Versions
    • 2.1-1
    • 2.3-2
    • 2.4-1
    • 2.5-1
    • 2.6-1
    Affected ranges
    • ECOSYSTEM: < 2.6-1ubuntu0.1~esm1

    Update to 2.6-1ubuntu0.1~esm1

  • libmodule-scandeps-perl Ubuntu Pro 18.04 LTS

    Versions
    • 1.23-1
    • 1.24-1
    Affected ranges
    • ECOSYSTEM: < 1.24-1ubuntu0.1~esm1

    Update to 1.24-1ubuntu0.1~esm1

  • needrestart Ubuntu Pro 18.04 LTS

    Versions
    • 2.11-4
    • 3.0-1
    • 3.1-1
    • 3.1-1ubuntu0.1
    Affected ranges
    • ECOSYSTEM: < 3.1-1ubuntu0.1+esm1

    Update to 3.1-1ubuntu0.1+esm1

  • libmodule-scandeps-perl Ubuntu Pro 20.04 LTS

    Versions
    • 1.27-1
    Affected ranges
    • ECOSYSTEM: < 1.27-1ubuntu0.1~esm1

    Update to 1.27-1ubuntu0.1~esm1

  • needrestart Ubuntu Pro 20.04 LTS

    Versions
    • 3.4-5
    • 3.4-6
    • 3.4-6ubuntu0.1
    Affected ranges
    • ECOSYSTEM: < 3.4-6ubuntu0.1+esm1

    Update to 3.4-6ubuntu0.1+esm1

  • libmodule-scandeps-perl Ubuntu 22.04 LTS

    Versions
    • 1.30-1
    • 1.31-1
    Affected ranges
    • ECOSYSTEM: < 1.31-1ubuntu0.1

    Update to 1.31-1ubuntu0.1

  • needrestart Ubuntu 22.04 LTS

    Versions
    • 3.5-4ubuntu2
    • 3.5-5ubuntu1
    • 3.5-5ubuntu2
    • 3.5-5ubuntu2.1
    Affected ranges
    • ECOSYSTEM: < 3.5-5ubuntu2.2

    Update to 3.5-5ubuntu2.2

  • libmodule-scandeps-perl Ubuntu 24.04 LTS

    Versions
    • 1.31-2
    • 1.34-1
    • 1.35-1
    Affected ranges
    • ECOSYSTEM: < 1.35-1ubuntu0.24.04.1

    Update to 1.35-1ubuntu0.24.04.1

  • needrestart Ubuntu 24.04 LTS

    Versions
    • 3.6-5
    • 3.6-6
    • 3.6-7
    • 3.6-7ubuntu3
    • 3.6-7ubuntu4
    • 3.6-7ubuntu4.1
    Affected ranges
    • ECOSYSTEM: < 3.6-7ubuntu4.3

    Update to 3.6-7ubuntu4.3

Original sources

Check your server →