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

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.21%, higher than 88% of CVEs (2026-12-02)
- Published: 2022-05-26T08:20:15.198Z
- Modified: 2026-06-17T04:22:53.073Z
- Weaknesses: CWE-22
- Assigned by: debian

## 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.

(As written by CVE List.)

## Affected

- Debian dpkg: from 1.14.17 before 1.21.8; from 1.14.17 before 1.18.26; from 1.19.0 before 1.19.8; from 1.20.0 before 1.20.10; from 1.21.0 before 1.21.8
- debian debian_linux: 9.0; 10.0; 11.0
- netapp ontap_select_deploy_administration_utility: no versions given

## Every score

- NVD: 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`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <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=58814cacee39c4ce9e2cd0e3a3b9b57ad437eff5> (mailing-list, patch, vendor-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=faa4c92debe45412bfcf8a44f26e827800bb24be> (mailing-list, patch, vendor-advisory)
- <https://lists.debian.org/debian-security-announce/2022/msg00115.html> (mailing-list, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/05/msg00033.html> (mailing-list, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20221007-0002/> (third-party-advisory)

## Sources

- CVE List: [CVE-2022-1664](https://www.cve.org/CVERecord?id=CVE-2022-1664), CVE Terms of Use, modified 2024-09-17
- NVD: [CVE-2022-1664](https://nvd.nist.gov/vuln/detail/CVE-2022-1664), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-1664 · Whole record: https://cve.day/CVE-2022-1664.json · Rebuilt by cve.day 2026-11-25T22:58:11.944Z
