CVE-2022-1664

published 26 May 2022 · updated 17 Sep 2024

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

9.8CriticalCVSS 9.8EPSS 3%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 3%. Fixed in 1.21.8.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
debian>=1.14.17 <1.21.81.21.8

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-1664 severity on Zeptric[![CVE-2022-1664](https://zeptric.io/badge/cve/CVE-2022-1664.svg)](https://zeptric.io/cve/CVE-2022-1664)