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

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.

Published: 2022-05-26 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-1664 is rated High Risk (65/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 0.74%). Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2022-1664

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-28 0.59% 0.74% +0.15%
2 2026-04-29 0.45% 0.59% +0.14%
3 2026-03-17 0.45%

Full EPSS history (29 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-1664

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.8 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 [email protected]
7.5 2.0 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 6.4 [email protected]

Weakness enumeration for CVE-2022-1664

OS Trackers for CVE-2022-1664

vendor priority summary link
alpine critical CVE-2022-1664: 1 source package rows (dpkg); 7 state rows across 7 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 7, open 0. https://security.alpinelinux.org/vuln/CVE-2022-1664
debian not yet assigned CVE-2022-1664 not yet assigned priority: Debian including 1 source packages (dpkg), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2022-1664
gentoo normal CVE-2022-1664: 1 GLSA(s) (202408-30), 1 atom(s) (app-arch/dpkg); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-1664
suse medium CVE-2022-1664 severity moderate: SUSE including 13 source package names (dpkg-1.19.0.4-150000.4.4.1, dpkg-1.21.8-1.1, …), 73 product×package rows across 38 product lines (SUSE CaaS Platform 4.0, SUSE Enterprise Storage 6, … (38 product lines)): Fixed 70, Known Not Affected 3. https://www.suse.com/security/cve/CVE-2022-1664/
ubuntu medium CVE-2022-1664 medium priority: Ubuntu including 1 source packages (dpkg), 14 status rows across 14 suites (bionic, focal, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): released 12, needed 1, needs-triage 1. https://ubuntu.com/security/CVE-2022-1664

Affected software / configurations for CVE-2022-1664

Vendor Product Version Raw CPE
debian dpkg >= 1.14.17, < 1.18.26 cpe:2.3:a:debian:dpkg:*:*:*:*:*:*:*:*
debian dpkg >= 1.19.0, < 1.19.8 cpe:2.3:a:debian:dpkg:*:*:*:*:*:*:*:*
debian dpkg >= 1.20.0, < 1.20.10 cpe:2.3:a:debian:dpkg:*:*:*:*:*:*:*:*
debian dpkg >= 1.21.0, < 1.21.8 cpe:2.3:a:debian:dpkg:*:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
debian debian_linux 11.0 cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
netapp ontap_select_deploy_administration_utility cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*

References for CVE-2022-1664

cvelogic Threat Intelligence