USN-5426-1: needrestart vulnerability

Publication date

17 May 2022

Overview

needrestart could be made to run programs.


Packages

  • needrestart - check which daemons need to be restarted after library upgrades

Details

Jakub Wilk discovered that needrestart incorrectly used some regular
expressions. A local attacker could possibly use this issue to execute
arbitrary code.

Jakub Wilk discovered that needrestart incorrectly used some regular
expressions. A local attacker could possibly use this issue to execute
arbitrary code.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
22.04 jammy needrestart –  3.5-5ubuntu2.1
21.10 impish needrestart –  3.5-4ubuntu2.1
20.04 focal needrestart –  3.4-6ubuntu0.1
18.04 bionic needrestart –  3.1-1ubuntu0.1

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›