Vulnerabilities / CVE-2022-1664

critical

CVE-2022-1664

Dpkg::Source::Archive in dpkg, the Debian package management system, b ...

Published Modified CWE 22
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, CBL-Mariner. Rated lower by Ubuntu (medium).

Description

Dpkg::Source::Archive in dpkg, the Debian package management system, before version 1.21.8, 1.20.10, 1.19.8, 1.18.26 is prone to a directory traversal vulnerability. When extracting untrusted source packages in v2 and v3 source package formats that include a debian.tar, the in-place extraction can lead to directory traversal situations on specially crafted orig.tar and debian.tar tarballs.

Affected packages and fixed versions

SourcePackageFixed in
CBL-Mariner 2.0dpkg0:1.20.10-1.cm2
alpine 3.13dpkg1.20.10-r0
alpine 3.14dpkg1.20.10-r0
alpine 3.15dpkg1.20.10-r0
alpine 3.16dpkg1.21.8-r0
alpine 3.17dpkg1.21.8-r0
alpine 3.18dpkg1.21.8-r0
alpine 3.19dpkg1.21.8-r0
alpine 3.20dpkg1.21.8-r0
alpine 3.21dpkg1.21.8-r0
alpine 3.22dpkg1.21.8-r0
alpine 3.23dpkg1.21.8-r0
Show all 44 entries from 41 sources
SourcePackageFixed in
CBL-Mariner 2.0dpkg0:1.20.10-1.cm2
alpine 3.13dpkg1.20.10-r0
alpine 3.14dpkg1.20.10-r0
alpine 3.15dpkg1.20.10-r0
alpine 3.16dpkg1.21.8-r0
alpine 3.17dpkg1.21.8-r0
alpine 3.18dpkg1.21.8-r0
alpine 3.19dpkg1.21.8-r0
alpine 3.20dpkg1.21.8-r0
alpine 3.21dpkg1.21.8-r0
alpine 3.22dpkg1.21.8-r0
alpine 3.23dpkg1.21.8-r0
alpine 3.24dpkg1.21.8-r0
alpine edgedpkg1.21.8-r0
debian 10dpkg1.19.8
debian 11dpkg1.20.10
debian 12dpkg1.21.8
debian 13dpkg1.21.8
debian 14dpkg1.21.8
debian 9dpkg1.18.26
echodpkg1.21.8
rapidfort ubuntu 20.04dpkg0:1.21.1ubuntu2.1
rapidfort ubuntu 20.04rf-dpkg0:1.21.1ubuntu2.1
rapidfort ubuntu 22.04dpkg0:1.21.1ubuntu2.1
rapidfort ubuntu 22.04rf-dpkg0:1.21.1ubuntu2.1
rapidfort ubuntu 24.04dpkg0:1.21.1ubuntu2.1
rapidfort ubuntu 24.04rf-dpkg0:1.21.1ubuntu2.1
root.io debian 12rootio-dpkg1.21.8
ubuntu 16.04-ESMdpkg1.18.4ubuntu1.7+esm1
ubuntu 18.04dpkg1.19.0.5ubuntu2.4
ubuntu 18.04-ESMdpkg1.19.0.5ubuntu2.4
ubuntu 20.04dpkg1.19.7ubuntu3.2
ubuntu 20.04-ESMdpkg1.19.7ubuntu3.2
ubuntu 21.10dpkg1.20.9ubuntu2.2
ubuntu 22.04dpkg1.21.1ubuntu2.1
ubuntu 22.10dpkg1.21.9ubuntu1
ubuntu 23.04dpkg1.21.9ubuntu1
ubuntu 23.10dpkg1.21.9ubuntu1
ubuntu 24.04dpkg1.21.9ubuntu1
ubuntu 24.10dpkg1.21.9ubuntu1
ubuntu 25.04dpkg1.21.9ubuntu1
ubuntu 25.10dpkg1.21.9ubuntu1
ubuntu 26.04dpkg1.21.9ubuntu1
ubuntu 26.10dpkg1.21.9ubuntu1

References

All 11 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.