{"answers":{"affected":"2 open source packages ship an affected version, including org.codehaus.plexus:plexus-archiver. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-37460 exists.","fix":"Upgrade org.codehaus.plexus:plexus-archiver to 4.8.0 or later.","what":"CVE-2023-37460 is a high-severity path traversal vulnerability in codehaus-plexus plexus-archiver, published on 25 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-37460 and fix it if it is affected.\n\nWhat it is: CVE-2023-37460 is a high-severity path traversal vulnerability in codehaus-plexus plexus-archiver, published on 25 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-37460 exists.\n\nAffected packages and fixed versions:\n- org.codehaus.plexus:plexus-archiver (Maven): affected all versions; fixed in 4.8.0\n- org.codehaus.plexus:plexus-archiver (Maven): affected all versions; fixed in 4.8.0\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-37460/ (Markdown: https://insights.sbomify.com/CVE-2023-37460/index.md)","id":"CVE-2023-37460","markdown":"https://insights.sbomify.com/CVE-2023-37460/index.md","name":"CVE-2023-37460","record":{"aliases":["AZL-27645","AZL-34813","GHSA-wh3p-fphp-9h2m","OESA-2025-1670","OESA-2025-1671","OESA-2025-1859","OESA-2025-1860","OESA-2025-1861","OESA-2025-1862","RHSA-2023:6886","SUSE-RU-2024:0560-1","UBUNTU-CVE-2023-37460","openSUSE-SU-2024:13309-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Java archive library","requires_auth":"none","summary":"Attackers can create arbitrary files and potentially execute code by exploiting symlink handling during archive extraction in Plexus Archiver.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"plexus-archiver","vendor":"codehaus-plexus"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Plexis Archiver is a collection of Plexus components to create archives or extract archives to a directory with a unified `Archiver`/`UnArchiver` API. Prior to version 4.8.0, using AbstractUnArchiver for extracting an archive might lead to an arbitrary file creation and possibly remote code execution. When extracting an archive with an entry that already exists in the destination directory as a symbolic link whose target does not exist - the `resolveFile()` function will return the symlink's source instead of its target, which will pass the verification that ensures the file will not be extracted outside of the destination directory. Later `Files.newOutputStream()`, that follows symlinks by default,  will actually write the entry's content to the symlink's target. Whoever uses plexus archiver to extract an untrusted archive is vulnerable to an arbitrary file creation and possibly remote code execution. Version 4.8.0 contains a patch for this issue.","ecosystems":["Maven","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","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 Module for Basesystem 15 SP5","SUSE:Linux Enterprise Module for Development Tools 15 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 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","SUSE:Manager Server Module 4.3","openSUSE:Leap 15.5"],"exploits":{"exploitdb":0,"first_seen":"2025-08-17","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-08-17T13:21:56Z","kind":"github_poc","ref":"https://github.com/shoucheng3/codehaus-plexus__plexus-archiver_CVE-2023-37460_4-7-1","stars":0,"title":null}],"tier":"weaponised"},"has_fix":true,"headline":"Plexus Archiver vulnerable to Arbitrary File Creation in AbstractUnArchiver","id":"CVE-2023-37460","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":112,"n_references":3,"next":{"headline":"Path traversal in metersphere","id":"CVE-2023-37461"},"packages":[{"ecosystem":"Maven","fixed":["4.8.0"],"introduced":["0"],"last_affected":[],"package":"org.codehaus.plexus:plexus-archiver","purl":null,"source":"GHSA-wh3p-fphp-9h2m"},{"ecosystem":"Maven","fixed":["4.8.0"],"introduced":["0"],"last_affected":[],"package":"org.codehaus.plexus:plexus-archiver","purl":"pkg:maven/org.codehaus.plexus/plexus-archiver","source":"GHSA-wh3p-fphp-9h2m"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.4.2-6.el7_9"],"introduced":["0"],"last_affected":[],"package":"plexus-archiver","purl":"pkg:rpm/redhat/plexus-archiver","source":"RHSA-2023:6886"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.4.2-6.el7_9"],"introduced":["0"],"last_affected":[],"package":"plexus-archiver-javadoc","purl":"pkg:rpm/redhat/plexus-archiver-javadoc","source":"RHSA-2023:6886"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.4.2-6.el7_9"],"introduced":["0"],"last_affected":[],"package":"plexus-archiver","purl":"pkg:rpm/redhat/plexus-archiver","source":"RHSA-2023:6886"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.4.2-6.el7_9"],"introduced":["0"],"last_affected":[],"package":"plexus-archiver-javadoc","purl":"pkg:rpm/redhat/plexus-archiver-javadoc","source":"RHSA-2023:6886"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.4.2-6.el7_9"],"introduced":["0"],"last_affected":[],"package":"plexus-archiver","purl":"pkg:rpm/redhat/plexus-archiver","source":"RHSA-2023:6886"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.4.2-6.el7_9"],"introduced":["0"],"last_affected":[],"package":"plexus-archiver-javadoc","purl":"pkg:rpm/redhat/plexus-archiver-javadoc","source":"RHSA-2023:6886"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.4.2-6.el7_9"],"introduced":["0"],"last_affected":[],"package":"plexus-archiver","purl":"pkg:rpm/redhat/plexus-archiver","source":"RHSA-2023:6886"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.4.2-6.el7_9"],"introduced":["0"],"last_affected":[],"package":"plexus-archiver-javadoc","purl":"pkg:rpm/redhat/plexus-archiver-javadoc","source":"RHSA-2023:6886"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["3.6.1-150200.3.7.3"],"introduced":["0"],"last_affected":[],"package":"maven-archiver","purl":"pkg:rpm/suse/maven-archiver\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["3.3.2-150200.3.7.3"],"introduced":["0"],"last_affected":[],"package":"maven-common-artifact-filters","purl":"pkg:rpm/suse/maven-common-artifact-filters\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["3.11.0-150200.3.7.1"],"introduced":["0"],"last_affected":[],"package":"maven-compiler-plugin","purl":"pkg:rpm/suse/maven-compiler-plugin\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["3.9.0-150200.3.7.3"],"introduced":["0"],"last_affected":[],"package":"maven-plugin-tools","purl":"pkg:rpm/suse/maven-plugin-tools\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["9.6-150200.3.11.3"],"introduced":["0"],"last_affected":[],"package":"objectweb-asm","purl":"pkg:rpm/suse/objectweb-asm\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["4.8.0-150200.3.7.2"],"introduced":["0"],"last_affected":[],"package":"plexus-archiver","purl":"pkg:rpm/suse/plexus-archiver\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["2.14.2-150200.3.9.2"],"introduced":["0"],"last_affected":[],"package":"plexus-compiler","purl":"pkg:rpm/suse/plexus-compiler\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["3.6.1-150200.3.7.3"],"introduced":["0"],"last_affected":[],"package":"maven-archiver","purl":"pkg:rpm/suse/maven-archiver\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["3.3.2-150200.3.7.3"],"introduced":["0"],"last_affected":[],"package":"maven-common-artifact-filters","purl":"pkg:rpm/suse/maven-common-artifact-filters\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["3.11.0-150200.3.7.1"],"introduced":["0"],"last_affected":[],"package":"maven-compiler-plugin","purl":"pkg:rpm/suse/maven-compiler-plugin\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["3.9.0-150200.3.7.3"],"introduced":["0"],"last_affected":[],"package":"maven-plugin-tools","purl":"pkg:rpm/suse/maven-plugin-tools\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["9.6-150200.3.11.3"],"introduced":["0"],"last_affected":[],"package":"objectweb-asm","purl":"pkg:rpm/suse/objectweb-asm\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["4.8.0-150200.3.7.2"],"introduced":["0"],"last_affected":[],"package":"plexus-archiver","purl":"pkg:rpm/suse/plexus-archiver\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["2.14.2-150200.3.9.2"],"introduced":["0"],"last_affected":[],"package":"plexus-compiler","purl":"pkg:rpm/suse/plexus-compiler\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["3.6.1-150200.3.7.3"],"introduced":["0"],"last_affected":[],"package":"maven-archiver","purl":"pkg:rpm/suse/maven-archiver\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["3.3.2-150200.3.7.3"],"introduced":["0"],"last_affected":[],"package":"maven-common-artifact-filters","purl":"pkg:rpm/suse/maven-common-artifact-filters\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["3.11.0-150200.3.7.1"],"introduced":["0"],"last_affected":[],"package":"maven-compiler-plugin","purl":"pkg:rpm/suse/maven-compiler-plugin\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["3.9.0-150200.3.7.3"],"introduced":["0"],"last_affected":[],"package":"maven-plugin-tools","purl":"pkg:rpm/suse/maven-plugin-tools\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["9.6-150200.3.11.3"],"introduced":["0"],"last_affected":[],"package":"objectweb-asm","purl":"pkg:rpm/suse/objectweb-asm\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["4.8.0-150200.3.7.2"],"introduced":["0"],"last_affected":[],"package":"plexus-archiver","purl":"pkg:rpm/suse/plexus-archiver\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["2.14.2-150200.3.9.2"],"introduced":["0"],"last_affected":[],"package":"plexus-compiler","purl":"pkg:rpm/suse/plexus-compiler\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["3.6.1-150200.3.7.3"],"introduced":["0"],"last_affected":[],"package":"maven-archiver","purl":"pkg:rpm/suse/maven-archiver\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["3.3.2-150200.3.7.3"],"introduced":["0"],"last_affected":[],"package":"maven-common-artifact-filters","purl":"pkg:rpm/suse/maven-common-artifact-filters\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["3.11.0-150200.3.7.1"],"introduced":["0"],"last_affected":[],"package":"maven-compiler-plugin","purl":"pkg:rpm/suse/maven-compiler-plugin\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["3.9.0-150200.3.7.3"],"introduced":["0"],"last_affected":[],"package":"maven-plugin-tools","purl":"pkg:rpm/suse/maven-plugin-tools\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["9.6-150200.3.11.3"],"introduced":["0"],"last_affected":[],"package":"objectweb-asm","purl":"pkg:rpm/suse/objectweb-asm\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["4.8.0-150200.3.7.2"],"introduced":["0"],"last_affected":[],"package":"plexus-archiver","purl":"pkg:rpm/suse/plexus-archiver\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["2.14.2-150200.3.9.2"],"introduced":["0"],"last_affected":[],"package":"plexus-compiler","purl":"pkg:rpm/suse/plexus-compiler\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["3.6.1-150200.3.7.3"],"introduced":["0"],"last_affected":[],"package":"maven-archiver","purl":"pkg:rpm/suse/maven-archiver\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-RU-2024:0560-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["3.3.2-150200.3.7.3"],"introduced":["0"],"last_affected":[],"package":"maven-common-artifact-filters","purl":"pkg:rpm/suse/maven-common-artifact-filters\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-RU-2024:0560-1"}],"prev":{"headline":"Out-of-bounds read when processing a received IPv6 packet","id":"CVE-2023-37459"},"products":["plexus-archiver"],"published":"2023-07-25","related":[{"cvss_score":5.5,"headline":"Improper Limitation of a Pathname to a Restricted Directory in plexus-archiver","id":"CVE-2018-1002200","kev_date_added":null,"published":"2018-07-25"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-10-03","vendors":["codehaus-plexus"]},"summary":"Attackers can create arbitrary files and potentially execute code by exploiting symlink handling during archive extraction in Plexus Archiver.","url":"https://insights.sbomify.com/CVE-2023-37460/"}