USN-5446-1: dpkg vulnerability

Publication date

26 May 2022

Overview

A malicious source package could write files outside the unpack directory.


Packages

  • dpkg - Debian package management system

Details

Max Justicz discovered that dpkg incorrectly handled unpacking certain
source packages. If a user or an automated system were tricked into
unpacking a specially crafted source package, a remote attacker could
modify files outside the target unpack directory, leading to a denial of
service or potentially gaining access to the system.

Max Justicz discovered that dpkg incorrectly handled unpacking certain
source packages. If a user or an automated system were tricked into
unpacking a specially crafted source package, a remote attacker could
modify files outside the target unpack directory, leading to a denial of
service or potentially gaining access to the system.

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 dpkg –  1.21.1ubuntu2.1
libdpkg-perl –  1.21.1ubuntu2.1
21.10 impish dpkg –  1.20.9ubuntu2.2
libdpkg-perl –  1.20.9ubuntu2.2
20.04 focal dpkg –  1.19.7ubuntu3.2
libdpkg-perl –  1.19.7ubuntu3.2
18.04 bionic dpkg –  1.19.0.5ubuntu2.4
libdpkg-perl –  1.19.0.5ubuntu2.4

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 ›