CVE-2022-1664

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

Published May 26, 2022 CVSS 3.1 · 9.8 Critical EPSS 3.2% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3022-1 dpkg security update
Debian DSA Debian DSA DSA-5147-1 dpkg security update
EUVD EUVD EUVD-2022-24950 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.
Ubuntu USN Ubuntu USN USN-5446-1 dpkg vulnerability
Ubuntu USN Ubuntu USN USN-5446-2 dpkg vulnerability
History

No history.

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
debian
Published
Updated
Sep 17, 2024, 2:16 AM
Reserved
May 10, 2022, 12:00 AM
Status
Modified
Published
May 26, 2022, 2:15 PM
Modified
Jun 17, 2026, 4:22 AM