CVE-2022-1664: directory traversal for in-place extracts with untrusted v2 and v3 source packages with debian.tar
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 Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2022-1664?
CVE-2022-1664 is a directory traversal vulnerability in dpkg, the Debian package management system.
What is the severity of CVE-2022-1664?
CVE-2022-1664 has a severity rating of 9.8 (Critical).
Which versions of dpkg are affected by CVE-2022-1664?
Versions 1.14.17 to 1.21.8 of dpkg are affected by CVE-2022-1664.
How can I fix CVE-2022-1664?
To fix CVE-2022-1664, update dpkg to version 1.21.8, 1.20.10, 1.19.8, or 1.18.26.
Are there any references for CVE-2022-1664?
Yes, you can find references for CVE-2022-1664 [here](https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=1f23dddc17f69c9598477098c7fb9936e15fa495), [here](https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=58814cacee39c4ce9e2cd0e3a3b9b57ad437eff5), and [here](https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=7a6c03cb34d4a09f35df2f10779cbf1b70a5200b).