CVE-2022-1664
CVE-2022-1664 · directory traversal for in-place extracts with untrusted v2 and v3 source packages with debian.tar
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 9.8 · Critical · EPSS 3.2% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
dpkg
- Versions
- ≥ 1.14.17, < 1.21.8: Affected; ≥ 1.20.10: Not affected; ≥ 1.19.8: Not affected; ≥ 1.18.26: Not affected (custom)
Update to 1.18.26
dpkg Debian:12
- Affected ranges
- ECOSYSTEM: < 1.21.8
Update to 1.21.8
dpkg Debian:13
- Affected ranges
- ECOSYSTEM: < 1.21.8
Update to 1.21.8
dpkg Debian:14
- Affected ranges
- ECOSYSTEM: < 1.21.8
Update to 1.21.8
dpkg Ubuntu:Pro:14.04:LTS
- Versions
- 1.16.12ubuntu1
- 1.17.1ubuntu1
- 1.17.5ubuntu1
- 1.17.5ubuntu2
- 1.17.5ubuntu3
- 1.17.5ubuntu4
- 1.17.5ubuntu5
- 1.17.5ubuntu5.1
- 1.17.5ubuntu5.2
- 1.17.5ubuntu5.3
- 1.17.5ubuntu5.4
- 1.17.5ubuntu5.5
- 1.17.5ubuntu5.6
- 1.17.5ubuntu5.7
- 1.17.5ubuntu5.8
- 1.17.5ubuntu5.8+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
dpkg Ubuntu:Pro:16.04:LTS
- Versions
- 1.18.2ubuntu5
- 1.18.3ubuntu1
- 1.18.4ubuntu1
- 1.18.4ubuntu1.1
- 1.18.4ubuntu1.2
- 1.18.4ubuntu1.3
- 1.18.4ubuntu1.4
- 1.18.4ubuntu1.5
- 1.18.4ubuntu1.6
- 1.18.4ubuntu1.7
- Affected ranges
- ECOSYSTEM: < 1.18.4ubuntu1.7+esm1
Update to 1.18.4ubuntu1.7+esm1
dpkg Ubuntu:18.04:LTS
- Versions
- 1.18.24ubuntu1
- 1.19.0.4ubuntu1
- 1.19.0.5ubuntu1
- 1.19.0.5ubuntu2
- 1.19.0.5ubuntu2.1
- 1.19.0.5ubuntu2.2
- 1.19.0.5ubuntu2.3
- Affected ranges
- ECOSYSTEM: < 1.19.0.5ubuntu2.4
Update to 1.19.0.5ubuntu2.4
dpkg Ubuntu:20.04:LTS
- Versions
- 1.19.7ubuntu2
- 1.19.7ubuntu3
- Affected ranges
- ECOSYSTEM: < 1.19.7ubuntu3.2
Update to 1.19.7ubuntu3.2
dpkg Ubuntu:22.04:LTS
- Versions
- 1.20.9ubuntu2
- 1.20.9ubuntu3
- 1.21.1ubuntu1
- 1.21.1ubuntu2
- Affected ranges
- ECOSYSTEM: < 1.21.1ubuntu2.1
Update to 1.21.1ubuntu2.1
Original sources
- https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=7a6c03cb34d4a09f35df2f10779cbf1b70a5200b
- https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=58814cacee39c4ce9e2cd0e3a3b9b57ad437eff5
- https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=1f23dddc17f69c9598477098c7fb9936e15fa495
- https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=faa4c92debe45412bfcf8a44f26e827800bb24be
- https://lists.debian.org/debian-security-announce/2022/msg00115.html
- https://lists.debian.org/debian-lts-announce/2022/05/msg00033.html
- https://security.netapp.com/advisory/ntap-20221007-0002/
- https://nvd.nist.gov/vuln/detail/CVE-2022-1664