cve.bz

CVE-2022-1664 Path traversal

9.8 criticalEPSS 3.2%Fix available

Critical (9.8). EPSS 3.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
3.2% (unchanged from 3.2% a week ago; 3.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-1664 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-1664?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-1664?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-1664 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Debian dpkgfrom 1.14.17 before 1.21.8

Fixed in

ProductFixed in
Debian dpkg1.20.10
Debian dpkg1.19.8
Debian dpkg1.18.26

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9dpkg1.18.26DLA-3022-1
Debian10dpkg1.19.8DSA-5147-1
Debian11dpkg1.20.10DSA-5147-1
Debian12, 13, 14dpkg1.21.8DEBIAN-CVE-2022-1664
Ubuntu18.04:LTSdpkg1.19.0.5ubuntu2.4UBUNTU-CVE-2022-1664 USN-5446-1
Ubuntu20.04:LTSdpkg1.19.7ubuntu3.2UBUNTU-CVE-2022-1664 USN-5446-1
Ubuntu22.04:LTSdpkg1.21.1ubuntu2.1UBUNTU-CVE-2022-1664 USN-5446-1
UbuntuPro:14.04:LTSdpkgno fix listedUBUNTU-CVE-2022-1664
UbuntuPro:16.04:LTSdpkg1.18.4ubuntu1.7+esm1UBUNTU-CVE-2022-1664 USN-5446-2
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 16 moredpkg, update-alternatives1.19.0.4-150000.4.4.1SUSE-SU-2022:4081-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3 and 2 moreupdate-alternatives1.19.0.4-150000.4.4.1SUSE-SU-2022:4081-1
SUSELinux Enterprise Module for Development Tools 15 SP3, Linux Enterprise Module for Development Tools 15 SP4dpkg1.19.0.4-150000.4.4.1SUSE-SU-2022:4081-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5update-alternatives1.18.4-16.3.5SUSE-SU-2022:2689-1
openSUSELeap 15.3, Leap 15.4dpkg, update-alternatives1.19.0.4-150000.4.4.1SUSE-SU-2022:4081-1
openSUSELeap Micro 5.2, Leap Micro 5.3update-alternatives1.19.0.4-150000.4.4.1SUSE-SU-2022:4081-1
Alpinev3.13, v3.14, v3.15dpkg1.20.10-r0ALPINE-CVE-2022-1664
Alpinev3.16, v3.17, v3.18 and 6 moredpkg1.21.8-r0ALPINE-CVE-2022-1664
Azure Linux2dpkg1.20.10-1AZL-9853

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON