p PatchFirst

USN-9151-1

USN-9151-1 · Ubuntu security update: needrestart

Fix available

Compare with your installed version

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

  • needrestart Ubuntu Pro 16.04 LTSUpdate to 2.6-1ubuntu0.1~esm4
  • needrestart Ubuntu Pro 18.04 LTSUpdate to 3.1-1ubuntu0.1+esm4
  • needrestart Ubuntu Pro 20.04 LTSUpdate to 3.4-6ubuntu0.1+esm4
  • needrestart Ubuntu 22.04 LTSUpdate to 3.5-5ubuntu2.6
  • and 3 more

Check the installed version:

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.

Armaan Sandhu discovered that needrestart did not properly handle systemd cgroup paths and process names. A local attacker could possibly use these issues to escalate privileges.

Published
Updated

Vulnerabilities closed

Stack: system

Updated packages and versions

  • needrestart Ubuntu Pro 16.04 LTS

    Versions
    • 2.1-1
    • 2.3-2
    • 2.4-1
    • 2.5-1
    • 2.6-1
    • 2.6-1ubuntu0.1~esm1
    All versions (8)
    • 2.6-1ubuntu0.1~esm2
    • 2.6-1ubuntu0.1~esm3
    Affected ranges
    • ECOSYSTEM: < 2.6-1ubuntu0.1~esm4

    Update to 2.6-1ubuntu0.1~esm4

  • needrestart Ubuntu Pro 18.04 LTS

    Versions
    • 2.11-4
    • 3.0-1
    • 3.1-1
    • 3.1-1ubuntu0.1
    • 3.1-1ubuntu0.1+esm1
    • 3.1-1ubuntu0.1+esm2
    All versions (7)
    • 3.1-1ubuntu0.1+esm3
    Affected ranges
    • ECOSYSTEM: < 3.1-1ubuntu0.1+esm4

    Update to 3.1-1ubuntu0.1+esm4

  • needrestart Ubuntu Pro 20.04 LTS

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

    Update to 3.4-6ubuntu0.1+esm4

  • needrestart Ubuntu 22.04 LTS

    Versions
    • 3.5-4ubuntu2
    • 3.5-5ubuntu1
    • 3.5-5ubuntu2
    • 3.5-5ubuntu2.1
    • 3.5-5ubuntu2.2
    • 3.5-5ubuntu2.3
    All versions (8)
    • 3.5-5ubuntu2.4
    • 3.5-5ubuntu2.5
    Affected ranges
    • ECOSYSTEM: < 3.5-5ubuntu2.6

    Update to 3.5-5ubuntu2.6

  • 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
    All versions (9)
    • 3.6-7ubuntu4.3
    • 3.6-7ubuntu4.4
    • 3.6-7ubuntu4.5
    Affected ranges
    • ECOSYSTEM: < 3.6-7ubuntu4.6

    Update to 3.6-7ubuntu4.6

  • needrestart Ubuntu 26.10

    Versions
    • 3.11-1ubuntu2
    Affected ranges
    • ECOSYSTEM: < 3.11-1ubuntu2.26.10.1

    Update to 3.11-1ubuntu2.26.10.1

  • needrestart Ubuntu 26.04 LTS

    Versions
    • 3.11-1ubuntu1
    • 3.11-1ubuntu2
    Affected ranges
    • ECOSYSTEM: < 3.11-1ubuntu2.26.04.1

    Update to 3.11-1ubuntu2.26.04.1

Original sources

Check your server →