Skip to content

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

CriticalCVSS 9.8 EPSS 3.2%
Published
Updated
Exploit status
No public exploit known

Description

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 products

ProductAffected versionsFixed in
debian/dpkg >= 1.14.17, < 1.20.10 1.20.10
ubuntu/dpkg(Ubuntu:22.04) < 1.21.1ubuntu2.1 1.21.1ubuntu2.1
debian/dpkg >= 1.14.17, < 1.18.26 1.18.26
debian/dpkg >= 1.19.0, < 1.19.8 1.19.8
debian/dpkg >= 1.20.0, < 1.20.10 1.20.10
debian/dpkg >= 1.21.0, < 1.21.8 1.21.8
debian linux = 9.0 No fix listed
debian linux = 10.0 No fix listed
debian linux = 11.0 No fix listed
netapp ontap select deploy administration utility All versions No fix listed
debian/dpkg(Debian:12) < 1.21.8 1.21.8
debian/dpkg(Debian:14) < 1.21.8 1.21.8
debian/dpkg(Debian:13) < 1.21.8 1.21.8
alpine/dpkg(Alpine:v3.13) >= 1.20.0, < 1.20.10-r0 1.20.10-r0
alpine/dpkg(Alpine:v3.14) >= 1.20.0, < 1.20.10-r0 1.20.10-r0
alpine/dpkg(Alpine:v3.15) >= 1.20.0, < 1.20.10-r0 1.20.10-r0
alpine/dpkg(Alpine:v3.16) >= 1.21.0, < 1.21.8-r0 1.21.8-r0
alpine/dpkg(Alpine:v3.17) >= 1.21.0, < 1.21.8-r0 1.21.8-r0
alpine/dpkg(Alpine:v3.18) >= 1.21.0, < 1.21.8-r0 1.21.8-r0
alpine/dpkg(Alpine:v3.19) >= 1.21.0, < 1.21.8-r0 1.21.8-r0
alpine/dpkg(Alpine:v3.20) >= 1.21.0, < 1.21.8-r0 1.21.8-r0
alpine/dpkg(Alpine:v3.21) >= 1.21.0, < 1.21.8-r0 1.21.8-r0
alpine/dpkg(Alpine:v3.22) >= 1.21.0, < 1.21.8-r0 1.21.8-r0
alpine/dpkg(Alpine:v3.23) >= 1.21.0, < 1.21.8-r0 1.21.8-r0
alpine/dpkg(Alpine:v3.24) >= 1.21.0, < 1.21.8-r0 1.21.8-r0

References