{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-7207 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-7207 is a medium-severity path traversal vulnerability in Debian cpio, published on 5 Jan 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-7207 and fix it if it is affected.\n\nWhat it is: CVE-2023-7207 is a medium-severity path traversal vulnerability in Debian cpio, published on 5 Jan 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-7207 in the wild and no public exploit code.\n\nAffected product: Debian cpio. 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-2023-7207/ (Markdown: https://insights.sbomify.com/CVE-2023-7207/index.md)","id":"CVE-2023-7207","markdown":"https://insights.sbomify.com/CVE-2023-7207/index.md","name":"CVE-2023-7207","record":{"aliases":["DEBIAN-CVE-2023-7207","GHSA-x4gq-xcr8-xwp7","SUSE-SU-2024:0238-1","SUSE-SU-2024:0248-1","SUSE-SU-2024:0305-1","SUSE-SU-2024:0305-2","SUSE-SU-2024:0305-3","SUSE-SU-2024:0824-1","SUSE-SU-2024:0825-1","UBUNTU-CVE-2023-7207","USN-6755-1","openSUSE-SU-2024:13653-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Debian cpio utility","requires_auth":"high_privilege","summary":"A path traversal vulnerability in Debian's cpio allows attackers to read or modify files outside the intended directory.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[{"product":"cpio","vendor":"gnu"}],"cvss":{"score":4.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Debian's cpio contains a path traversal vulnerability. This issue was introduced by reverting CVE-2015-1197 patches which had caused a regression in --no-absolute-filenames. Upstream has since provided a proper fix to --no-absolute-filenames.","ecosystems":["SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP5","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Manager Proxy 4.3","SUSE:Manager Server 4.3","openSUSE:Leap 15.5","openSUSE:Leap Micro 5.3","openSUSE:Leap Micro 5.4","openSUSE:Tumbleweed"],"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":"Path traversal in Debian cpio","id":"CVE-2023-7207","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":35,"n_references":5,"next":{"headline":"Totolink X2000R_V2 boa formTmultiAP buffer overflow","id":"CVE-2023-7208"},"packages":[{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["2.12-150000.3.12.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2024:0824-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["2.12-150000.3.12.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2024:0824-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["2.12-150000.3.12.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2024:0824-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["2.13-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2024:0305-2"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["2.13-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2024:0305-2"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["2.12-150000.3.12.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2024:0824-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["2.12-150000.3.12.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2024:0824-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["2.13-150400.3.3.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2024:0238-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["2.13-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2024:0305-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["2.13-150400.3.3.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2024:0238-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["2.13-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2024:0305-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["2.13-150400.3.3.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2024:0238-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["2.13-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2024:0305-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["2.13-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2024:0305-3"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","fixed":["2.13-150400.3.3.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5","source":"SUSE-SU-2024:0238-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","fixed":["2.13-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5","source":"SUSE-SU-2024:0305-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["2.11-36.18.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2024:0248-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["2.11-36.21.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2024:0825-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["2.12-150000.3.12.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2024:0824-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["2.12-150000.3.12.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2024:0824-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["2.13-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2024:0305-2"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["2.11-36.18.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2024:0248-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["2.11-36.21.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2024:0825-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["2.12-150000.3.12.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2024:0824-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["2.12-150000.3.12.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2024:0824-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["2.13-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2024:0305-2"},{"ecosystem":"SUSE:Manager Proxy 4.3","fixed":["2.13-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Manager%20Proxy%204.3","source":"SUSE-SU-2024:0305-2"},{"ecosystem":"SUSE:Manager Server 4.3","fixed":["2.13-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Manager%20Server%204.3","source":"SUSE-SU-2024:0305-2"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["2.13-150400.3.3.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/opensuse/cpio\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:0238-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["2.13-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/opensuse/cpio\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:0305-1"},{"ecosystem":"openSUSE:Leap Micro 5.3","fixed":["2.13-150400.3.3.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/opensuse/cpio\u0026distro=openSUSE%20Leap%20Micro%205.3","source":"SUSE-SU-2024:0238-1"},{"ecosystem":"openSUSE:Leap Micro 5.3","fixed":["2.13-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/opensuse/cpio\u0026distro=openSUSE%20Leap%20Micro%205.3","source":"SUSE-SU-2024:0305-1"},{"ecosystem":"openSUSE:Leap Micro 5.4","fixed":["2.13-150400.3.3.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/opensuse/cpio\u0026distro=openSUSE%20Leap%20Micro%205.4","source":"SUSE-SU-2024:0238-1"},{"ecosystem":"openSUSE:Leap Micro 5.4","fixed":["2.13-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/opensuse/cpio\u0026distro=openSUSE%20Leap%20Micro%205.4","source":"SUSE-SU-2024:0305-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.15-1.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/opensuse/cpio\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13653-1"}],"prev":{"headline":"Horner Automation Cscape Stack-Based Buffer Overflow","id":"CVE-2023-7206"},"products":["Debian cpio"],"published":"2024-01-05","related":[{"cvss_score":7.8,"headline":"Integer overflow in n/a","id":"CVE-2021-38185","kev_date_added":null,"published":"2021-08-07"},{"cvss_score":7.2,"headline":"Path traversal in n/a","id":"CVE-2010-4226","kev_date_added":null,"published":"2014-02-06"},{"cvss_score":6.8,"headline":"Memory corruption in n/a","id":"CVE-2010-0624","kev_date_added":null,"published":"2010-03-12"},{"cvss_score":6.7,"headline":"Path traversal in cpio","id":"CVE-2019-14866","kev_date_added":null,"published":"2020-01-07"},{"cvss_score":5.3,"headline":"Cpio: extraction allows symlinks which enables remote command execution","id":"CVE-2023-7216","kev_date_added":null,"published":"2024-02-05"},{"cvss_score":4.6,"headline":"Path traversal in n/a","id":"CVE-2005-1229","kev_date_added":null,"published":"2005-04-22"}],"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":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-07","vendors":["Debian"]},"summary":"A path traversal vulnerability in Debian's cpio allows attackers to read or modify files outside the intended directory.","url":"https://insights.sbomify.com/CVE-2023-7207/"}