CVE-2022-1664 in Debian Linux and 2 more products
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 ...
Affects 3 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 9.0 10.0 11.0 |
| Debian | Dpkg | ≥ 1.14.17, < 1.18.26 ≥ 1.19.0, < 1.19.8 ≥ 1.20.0, < 1.20.10 ≥ 1.21.0, < 1.21.8 |
| Netapp | Ontap Select Deploy Administration Utility | No version listed by the source |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-1664 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-324767-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-05-26 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-22: Path Traversal
Attacker manipulates file path inputs to access files outside the intended directory.
Related attack patterns (CAPEC)
CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22
CAPEC-76 Manipulating Web Input to File System Calls via CWE-22
CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22
CAPEC-79 Using Slashes in Alternate Encoding via CWE-22
CAPEC-126 Path Traversal via CWE-22
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A directory traversal vulnerability exists in Dpkg::Source::Archive in dpkg versions before 1.21.8, 1.20.10, 1.19.8, and 1.18.26, allowing for potential unauthorized file access or manipulation.
The vulnerability arises when extracting untrusted source packages in v2 and v3 source package formats that include a debian.tar. Specially crafted orig.tar and debian.tar tarballs can lead to directory traversal situations, enabling an attacker to write files to arbitrary locations on the system.
Questions
What is CVE-2022-1664?
A directory traversal vulnerability exists in Dpkg::Source::Archive in dpkg versions before 1.21.8, 1.20.10, 1.19.8, and 1.18.26, allowing for potential unauthorized file access or manipulation.
What is the CVSS score for CVE-2022-1664?
CVE-2022-1664 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 2.2%.
Is CVE-2022-1664 actively exploited?
No confirmed active exploitation of CVE-2022-1664 as of 2026-05-30.
How do I remediate CVE-2022-1664?
Priority: IMMEDIATE. Advisory: https://lists.debian.org/debian-lts-announce/2022/05/msg00033.html PSIRT: [email protected]
What systems are affected by CVE-2022-1664?
CVE-2022-1664 affects Debian Debian Linux, Dpkg; Netapp Ontap Select Deploy Administration Utility.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.