CVE-2022-1664

NameCVE-2022-1664
DescriptionDpkg::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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3022-1, DSA-5147-1, ELA-631-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
dpkg (PTS)jessie, jessie (lts)1.17.28fixed
stretch (security), stretch (lts), stretch1.18.26fixed
buster (security), buster, buster (lts)1.19.8fixed
bullseye1.20.13fixed
bullseye (security)1.20.10fixed
bookworm1.21.22fixed
sid, trixie1.22.11fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
dpkgsourcejessie1.17.28ELA-631-1
dpkgsourcestretch1.18.26DLA-3022-1
dpkgsourcebuster1.19.8DSA-5147-1
dpkgsourcebullseye1.20.10DSA-5147-1
dpkgsource(unstable)1.21.8

Notes

https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=7a6c03cb34d4a09f35df2f10779cbf1b70a5200b (1.21.8)
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=58814cacee39c4ce9e2cd0e3a3b9b57ad437eff5 (1.20.10)
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=1f23dddc17f69c9598477098c7fb9936e15fa495 (1.19.8)
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=faa4c92debe45412bfcf8a44f26e827800bb24be (1.18.26)

Search for package or bug name: Reporting problems