Skip to content
Fencer Vulns
critical 9.8

CVE-2022-1664 json

directory traversal for in-place extracts with untrusted v2 and v3 source packages with debian.tar

published 2022-05-26 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-24950

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.2%
EPSS 3.2% chance of exploitation in 30 days, percentile 88%
public exploits
0
none known

Summary

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.

Patch / fix

  • Debian dpkg 1.18.26, 1.19.8, 1.20.10, 1.21.8
  • dpkg Debian 14, Debian 13, Debian 12 1.21.8

debian advisories DEBIAN-CVE-2022-1664

  • dpkg Ubuntu 18.04 LTS 1.19.0.5ubuntu2.4
  • dpkg Ubuntu 20.04 LTS 1.19.7ubuntu3.2
  • dpkg Ubuntu 22.04 LTS 1.21.1ubuntu2.1
  • dpkg Ubuntu Pro 16.04 LTS 1.18.4ubuntu1.7+esm1

ubuntu advisories UBUNTU-CVE-2022-1664

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • dpkg SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +20 more 1.19.0.4-150000.4.4.1
  • update-alternatives SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +25 more 1.19.0.4-150000.4.4.1
  • update-alternatives SLES for SAP 12 SP5, SLES 12 SP5 1.18.4-16.3.5

suse advisories SUSE-SU-2022:4081-1SUSE-SU-2022:2689-1

  • dpkg Alpine 3.15, Alpine 3.14, Alpine 3.13 1.20.10-r0
  • dpkg Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 1.21.8-r0

alpine advisories ALPINE-CVE-2022-1664

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • dpkg CBL-Mariner 2.0 1.20.10-1

azure linux advisories AZL-9853

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Exploit prediction

3.24% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected products

  • Debian dpkg

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.