Skip to content
OpenAdvisories
Unscored CVE-2022-1664 EUVD-2022-24950GHSA-q7pv-fjh6-6xq6

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

Published May 26, 2022 · Updated Sep 17, 2024 · Assigned by debian

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

VendorProductAffectedFixed
Debian dpkg 1.14.17 – < 1.21.8 1.21.8

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 dpkg 1.21.8 —
Debian 13 dpkg 1.21.8 —
Debian 12 dpkg 1.21.8 —
Debian 11 dpkg 1.20.10 DSA-5147-1
Debian 10 dpkg 1.19.8 DSA-5147-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 9 dpkg 1.18.26 DLA-3022-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS dpkg 1.21.1ubuntu2.1 USN-5446-1
Ubuntu 20.04 LTS dpkg 1.19.7ubuntu3.2 USN-5446-1
Ubuntu 18.04 LTS dpkg 1.19.0.5ubuntu2.4 USN-5446-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS dpkg 1.18.4ubuntu1.7+esm1 USN-5446-2
Ubuntu Pro 14.04 LTS dpkg No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP4 dpkg +1 1.19.0.4-150000.4.4.1 SUSE-SU-2022:4081-1
SLES 15 SP3 dpkg +1 1.19.0.4-150000.4.4.1 SUSE-SU-2022:4081-1
SLES 15 SP2 dpkg +1 1.19.0.4-150000.4.4.1 SUSE-SU-2022:4081-1
SLES 15 SP1 dpkg +1 1.19.0.4-150000.4.4.1 SUSE-SU-2022:4081-1
SLES 15 dpkg +1 1.19.0.4-150000.4.4.1 SUSE-SU-2022:4081-1
Show 16 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 update-alternatives 1.18.4-16.3.5 SUSE-SU-2022:2689-1
SLES for SAP 15 SP2 dpkg +1 1.19.0.4-150000.4.4.1 SUSE-SU-2022:4081-1
SLES for SAP 15 SP1 dpkg +1 1.19.0.4-150000.4.4.1 SUSE-SU-2022:4081-1
SLES for SAP 15 dpkg +1 1.19.0.4-150000.4.4.1 SUSE-SU-2022:4081-1
SLES for SAP 12 SP5 update-alternatives 1.18.4-16.3.5 SUSE-SU-2022:2689-1
SLE Micro 5.3 update-alternatives 1.19.0.4-150000.4.4.1 SUSE-SU-2022:4081-1
SLE Micro 5.2 update-alternatives 1.19.0.4-150000.4.4.1 SUSE-SU-2022:4081-1
SLE Micro 5.1 update-alternatives 1.19.0.4-150000.4.4.1 SUSE-SU-2022:4081-1
SLE HPC 15 SP2 dpkg +1 1.19.0.4-150000.4.4.1 SUSE-SU-2022:4081-1
SLE HPC 15 SP1 dpkg +1 1.19.0.4-150000.4.4.1 SUSE-SU-2022:4081-1
SLE HPC 15 dpkg +1 1.19.0.4-150000.4.4.1 SUSE-SU-2022:4081-1
SUSE Manager Server 4.1 dpkg +1 1.19.0.4-150000.4.4.1 SUSE-SU-2022:4081-1
SUSE Manager Retail Branch Server 4.1 dpkg +1 1.19.0.4-150000.4.4.1 SUSE-SU-2022:4081-1
SUSE Manager Proxy 4.1 dpkg +1 1.19.0.4-150000.4.4.1 SUSE-SU-2022:4081-1
SUSE Enterprise Storage 7 dpkg +1 1.19.0.4-150000.4.4.1 SUSE-SU-2022:4081-1
SUSE Enterprise Storage 6 dpkg +1 1.19.0.4-150000.4.4.1 SUSE-SU-2022:4081-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.4 dpkg +1 1.19.0.4-150000.4.4.1 SUSE-SU-2022:4081-1
openSUSE Leap 15.3 dpkg +1 1.19.0.4-150000.4.4.1 SUSE-SU-2022:4081-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.3 update-alternatives 1.19.0.4-150000.4.4.1 SUSE-SU-2022:4081-1
openSUSE Leap Micro 5.2 update-alternatives 1.19.0.4-150000.4.4.1 SUSE-SU-2022:4081-1
ReleasePackageFixed inAdvisory
Alpine v3.24 dpkg 1.21.8-r0 —
Alpine v3.23 dpkg 1.21.8-r0 —
Alpine v3.22 dpkg 1.21.8-r0 —
Alpine v3.21 dpkg 1.21.8-r0 —
Alpine v3.20 dpkg 1.21.8-r0 —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 dpkg 1.21.8-r0 —
Alpine v3.18 dpkg 1.21.8-r0 —
Alpine v3.17 dpkg 1.21.8-r0 —
Alpine v3.16 dpkg 1.21.8-r0 —
Alpine v3.15 dpkg 1.20.10-r0 —
Alpine v3.14 dpkg 1.20.10-r0 —
Alpine v3.13 dpkg 1.20.10-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) dpkg 1.20.10-1 —

Advisories 8

References