{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2022-1664 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2022-1664 is a critical path traversal vulnerability in Debian Debian Linux, published on 26 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-1664 and fix it if it is affected.\n\nWhat it is: CVE-2022-1664 is a critical path traversal vulnerability in Debian Debian Linux, published on 26 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-1664 in the wild and no public exploit code.\n\nAffected product: Debian Debian Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-1664/ (Markdown: https://insights.sbomify.com/CVE-2022-1664/index.md)","id":"CVE-2022-1664","markdown":"https://insights.sbomify.com/CVE-2022-1664/index.md","name":"CVE-2022-1664","record":{"aliases":["ALPINE-CVE-2022-1664","AZL-9853","CLSA-2022-1654717100","DEBIAN-CVE-2022-1664","DLA-3022-1","DSA-5147-1","GHSA-q7pv-fjh6-6xq6","MGASA-2022-0327","OESA-2022-1703","SUSE-SU-2022:2689-1","SUSE-SU-2022:4081-1","UBUNTU-CVE-2022-1664","USN-5446-1","USN-5446-2","openSUSE-SU-2024:12110-1"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["data_modify","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Debian package manager","requires_auth":"none","summary":"Attackers can exploit directory traversal in dpkg source package extraction to write files outside intended directories, potentially leading to code execution.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"debian","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"dpkg","vendor":"debian"},{"product":"ontap_select_deploy_administration_utility","vendor":"netapp"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["SUSE:Enterprise Storage 6","SUSE:Enterprise Storage 7","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Development Tools 15 SP3","SUSE:Linux Enterprise Module for Development Tools 15 SP4","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-BCL","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Manager Proxy 4.1","SUSE:Manager Retail Branch Server 4.1","SUSE:Manager Server 4.1","openSUSE:Leap 15.3","openSUSE:Leap 15.4","openSUSE:Leap Micro 5.2","openSUSE:Leap Micro 5.3"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"directory traversal for in-place extracts with untrusted v2 and v3 source packages with debian.tar","id":"CVE-2022-1664","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux","netapp:ontap_select_deploy_administration_utility"],"type":"path_traversal","year":"2022"},"n_packages":53,"n_references":7,"next":{"headline":"Security feature bypass in Red Hat Enterprise Linux","id":"CVE-2022-1665"},"packages":[{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"dpkg","purl":"pkg:rpm/suse/dpkg\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"update-alternatives","purl":"pkg:rpm/suse/update-alternatives\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"dpkg","purl":"pkg:rpm/suse/dpkg\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"update-alternatives","purl":"pkg:rpm/suse/update-alternatives\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"dpkg","purl":"pkg:rpm/suse/dpkg\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"update-alternatives","purl":"pkg:rpm/suse/update-alternatives\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"dpkg","purl":"pkg:rpm/suse/dpkg\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"update-alternatives","purl":"pkg:rpm/suse/update-alternatives\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"dpkg","purl":"pkg:rpm/suse/dpkg\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOS","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"update-alternatives","purl":"pkg:rpm/suse/update-alternatives\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOS","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"dpkg","purl":"pkg:rpm/suse/dpkg\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"update-alternatives","purl":"pkg:rpm/suse/update-alternatives\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"dpkg","purl":"pkg:rpm/suse/dpkg\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOS","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"update-alternatives","purl":"pkg:rpm/suse/update-alternatives\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOS","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"dpkg","purl":"pkg:rpm/suse/dpkg\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSS","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"update-alternatives","purl":"pkg:rpm/suse/update-alternatives\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSS","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"update-alternatives","purl":"pkg:rpm/suse/update-alternatives\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"update-alternatives","purl":"pkg:rpm/suse/update-alternatives\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"update-alternatives","purl":"pkg:rpm/suse/update-alternatives\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"update-alternatives","purl":"pkg:rpm/suse/update-alternatives\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"update-alternatives","purl":"pkg:rpm/suse/update-alternatives\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP3","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"dpkg","purl":"pkg:rpm/suse/dpkg\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP3","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP4","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"dpkg","purl":"pkg:rpm/suse/dpkg\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP4","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["1.18.4-16.3.5"],"introduced":["0"],"last_affected":[],"package":"update-alternatives","purl":"pkg:rpm/suse/update-alternatives\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2022:2689-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-BCL","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"dpkg","purl":"pkg:rpm/suse/dpkg\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCL","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-BCL","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"update-alternatives","purl":"pkg:rpm/suse/update-alternatives\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCL","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"dpkg","purl":"pkg:rpm/suse/dpkg\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"update-alternatives","purl":"pkg:rpm/suse/update-alternatives\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-BCL","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"dpkg","purl":"pkg:rpm/suse/dpkg\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-BCL","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-BCL","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"update-alternatives","purl":"pkg:rpm/suse/update-alternatives\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-BCL","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"dpkg","purl":"pkg:rpm/suse/dpkg\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"update-alternatives","purl":"pkg:rpm/suse/update-alternatives\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15-LTSS","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"dpkg","purl":"pkg:rpm/suse/dpkg\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSS","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15-LTSS","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"update-alternatives","purl":"pkg:rpm/suse/update-alternatives\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSS","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["1.18.4-16.3.5"],"introduced":["0"],"last_affected":[],"package":"update-alternatives","purl":"pkg:rpm/suse/update-alternatives\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2022:2689-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"dpkg","purl":"pkg:rpm/suse/dpkg\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"update-alternatives","purl":"pkg:rpm/suse/update-alternatives\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"dpkg","purl":"pkg:rpm/suse/dpkg\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"update-alternatives","purl":"pkg:rpm/suse/update-alternatives\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2022:4081-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["1.19.0.4-150000.4.4.1"],"introduced":["0"],"last_affected":[],"package":"dpkg","purl":"pkg:rpm/suse/dpkg\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2022:4081-1"}],"prev":{"headline":"Stop Spam Comments \u003c= 0.2.1.2 - Access Token Bypass","id":"CVE-2022-1663"},"products":["dpkg"],"published":"2022-05-26","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["Debian"]},"summary":"Attackers can exploit directory traversal in dpkg source package extraction to write files outside intended directories, potentially leading to code execution.","url":"https://insights.sbomify.com/CVE-2022-1664/"}