9.8
CRITICAL CVSS 3.1
CVE-2022-1664
Debian Dpkg Directory Traversal Vulnerability
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.

INFO

Published Date :

May 26, 2022, 2:15 p.m.

Last Modified :

Nov. 21, 2024, 6:41 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2022-1664 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
2 Debian dpkg
1 Netapp ontap_select_deploy_administration_utility
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
CVSS 3.1 CRITICAL [email protected]
Solution
The dpkg packages have a directory traversal vulnerability; updating dpkg will resolve the issue.
  • Update the dpkg packages.
  • Upgrade to the latest available version.
Public PoC/Exploit Available at Github

CVE-2022-1664 has a 6 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-1664.

URL Resource
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=1f23dddc17f69c9598477098c7fb9936e15fa495 Mailing List Patch Vendor Advisory
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=58814cacee39c4ce9e2cd0e3a3b9b57ad437eff5 Mailing List Patch Vendor Advisory
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=7a6c03cb34d4a09f35df2f10779cbf1b70a5200b Mailing List Patch Vendor Advisory
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=faa4c92debe45412bfcf8a44f26e827800bb24be Mailing List Patch Vendor Advisory
https://lists.debian.org/debian-lts-announce/2022/05/msg00033.html Mailing List Vendor Advisory
https://lists.debian.org/debian-security-announce/2022/msg00115.html Mailing List Vendor Advisory
https://security.netapp.com/advisory/ntap-20221007-0002/ Third Party Advisory
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=1f23dddc17f69c9598477098c7fb9936e15fa495 Mailing List Patch Vendor Advisory
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=58814cacee39c4ce9e2cd0e3a3b9b57ad437eff5 Mailing List Patch Vendor Advisory
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=7a6c03cb34d4a09f35df2f10779cbf1b70a5200b Mailing List Patch Vendor Advisory
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=faa4c92debe45412bfcf8a44f26e827800bb24be Mailing List Patch Vendor Advisory
https://lists.debian.org/debian-lts-announce/2022/05/msg00033.html Mailing List Vendor Advisory
https://lists.debian.org/debian-security-announce/2022/msg00115.html Mailing List Vendor Advisory
https://security.netapp.com/advisory/ntap-20221007-0002/ Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-1664 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Smarty Shell

Updated: 2 months ago
0 stars 0 fork 0 watcher
Born at : June 27, 2025, 1:22 p.m. This repo has been linked 10 different CVEs too.

None

Shell

Updated: 2 months ago
0 stars 0 fork 0 watcher
Born at : June 27, 2025, 8:39 a.m. This repo has been linked 4 different CVEs too.

Debian Threats Database

Python

Updated: 2 months, 1 week ago
1 stars 0 fork 0 watcher
Born at : June 19, 2025, 12:56 p.m. This repo has been linked 1 different CVEs too.

None

Dockerfile Roff Java

Updated: 10 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Oct. 7, 2024, 8:52 a.m. This repo has been linked 127 different CVEs too.

Example vulnerable helm code for xef scannig.

Smarty

Updated: 2 years, 2 months ago
0 stars 0 fork 0 watcher
Born at : June 14, 2023, 2:30 p.m. This repo has been linked 9 different CVEs too.

None

Java HTML

Updated: 2 years, 2 months ago
5 stars 2 fork 2 watcher
Born at : April 17, 2023, 5:28 p.m. This repo has been linked 5 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-1664 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-1664 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=1f23dddc17f69c9598477098c7fb9936e15fa495
    Added Reference https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=58814cacee39c4ce9e2cd0e3a3b9b57ad437eff5
    Added Reference https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=7a6c03cb34d4a09f35df2f10779cbf1b70a5200b
    Added Reference https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=faa4c92debe45412bfcf8a44f26e827800bb24be
    Added Reference https://lists.debian.org/debian-lts-announce/2022/05/msg00033.html
    Added Reference https://lists.debian.org/debian-security-announce/2022/msg00115.html
    Added Reference https://security.netapp.com/advisory/ntap-20221007-0002/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Dec. 03, 2022

    Action Type Old Value New Value
    Changed Reference Type https://security.netapp.com/advisory/ntap-20221007-0002/ No Types Assigned https://security.netapp.com/advisory/ntap-20221007-0002/ Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Oct. 07, 2022

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20221007-0002/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Jun. 07, 2022

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=1f23dddc17f69c9598477098c7fb9936e15fa495 No Types Assigned https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=1f23dddc17f69c9598477098c7fb9936e15fa495 Mailing List, Patch, Vendor Advisory
    Changed Reference Type https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=58814cacee39c4ce9e2cd0e3a3b9b57ad437eff5 No Types Assigned https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=58814cacee39c4ce9e2cd0e3a3b9b57ad437eff5 Mailing List, Patch, Vendor Advisory
    Changed Reference Type https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=7a6c03cb34d4a09f35df2f10779cbf1b70a5200b No Types Assigned https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=7a6c03cb34d4a09f35df2f10779cbf1b70a5200b Mailing List, Patch, Vendor Advisory
    Changed Reference Type https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=faa4c92debe45412bfcf8a44f26e827800bb24be No Types Assigned https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=faa4c92debe45412bfcf8a44f26e827800bb24be Mailing List, Patch, Vendor Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2022/05/msg00033.html No Types Assigned https://lists.debian.org/debian-lts-announce/2022/05/msg00033.html Mailing List, Vendor Advisory
    Changed Reference Type https://lists.debian.org/debian-security-announce/2022/msg00115.html No Types Assigned https://lists.debian.org/debian-security-announce/2022/msg00115.html Mailing List, Vendor Advisory
    Added CWE NIST CWE-22
    Added CPE Configuration OR *cpe:2.3:a:debian:dpkg:*:*:*:*:*:*:*:* versions from (including) 1.14.17 up to (excluding) 1.18.26 *cpe:2.3:a:debian:dpkg:*:*:*:*:*:*:*:* versions from (including) 1.19.0 up to (excluding) 1.19.8 *cpe:2.3:a:debian:dpkg:*:*:*:*:*:*:*:* versions from (including) 1.20.0 up to (excluding) 1.20.10 *cpe:2.3:a:debian:dpkg:*:*:*:*:*:*:*:* versions from (including) 1.21.0 up to (excluding) 1.21.8
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 7.5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.48 }} 0.03%

score

0.63826

percentile