Directory Traversal Affecting dpkg package, versions <1.19.8
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN10-DPKG-2847944
- published 26 May 2022
- disclosed 26 May 2022
Introduced: 26 May 2022
CVE-2022-1664 Open this link in a new tabHow to fix?
Upgrade Debian:10
dpkg
to version 1.19.8 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream dpkg
package and not the dpkg
package as distributed by Debian
.
See How to fix?
for Debian:10
relevant fixed versions and status.
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.
References
- https://security-tracker.debian.org/tracker/CVE-2022-1664
- https://lists.debian.org/debian-security-announce/2022/msg00115.html
- https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=faa4c92debe45412bfcf8a44f26e827800bb24be
- https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=7a6c03cb34d4a09f35df2f10779cbf1b70a5200b
- https://lists.debian.org/debian-lts-announce/2022/05/msg00033.html
- https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=58814cacee39c4ce9e2cd0e3a3b9b57ad437eff5
- https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=1f23dddc17f69c9598477098c7fb9936e15fa495
- https://security.netapp.com/advisory/ntap-20221007-0002/