Advisory

USN-5446-1

Also known as: CVE-2022-1664

Summary

dpkg vulnerability

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.

Severity

Not rated by the source.

Dates

Published
2022-05-26 11:16 UTC
Modified
2026-04-27 16:09 UTC

Affected packages and fixes

dpkg

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 1.19.0.5ubuntu2.4 (ecosystem)

Fixed versions

1.19.0.5ubuntu2.4

Fix

  • Fixed version 1.19.0.5ubuntu2.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

dpkg

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1.19.7ubuntu3.2 (ecosystem)

Fixed versions

1.19.7ubuntu3.2

Fix

  • Fixed version 1.19.7ubuntu3.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

dpkg

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.21.1ubuntu2.1 (ecosystem)

Fixed versions

1.21.1ubuntu2.1

Fix

  • Fixed version 1.21.1ubuntu2.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences