cve.bz

CVE-2023-37460 codehaus-plexus plexus-archiver: Path traversal

9.8 criticalExploit referenceEPSS 2.5%Fix available

Critical (9.8) in codehaus-plexus plexus-archiver. EPSS 2.5% estimated probability of exploitation activity in the next 30 days. Fixed in org.codehaus.plexus:plexus-archiver 4.8.0.

On this page
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.

Severity

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
EPSS
2.5% (unchanged from 2.5% a week ago; 2.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-10-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
CWE-61 UNIX Symbolic Link (Symlink) Following
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-37460 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-37460?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-37460?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-37460 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
codehaus-plexus:plexus-archiverbefore 4.8.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-wh3p-fphp-9h2mMavenorg.codehaus.plexus:plexus-archiver<4.8.04.8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu14.04:LTS, 16.04:LTS, 20.04:LTS and 6 moreplexus-archiverno fix listedUBUNTU-CVE-2023-37460
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreplexus-archiver, plexus-archiver-javadoc0:2.4.2-6.el7_9RHSA-2023:6886
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 12 moreobjectweb-asm9.6-150200.3.11.3SUSE-RU-2024:0560-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 9 moremaven-archiver3.6.1-150200.3.7.3SUSE-RU-2024:0560-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 9 moremaven-common-artifact-filters3.3.2-150200.3.7.3SUSE-RU-2024:0560-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 9 moremaven-compiler-plugin3.11.0-150200.3.7.1SUSE-RU-2024:0560-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 9 moremaven-plugin-tools3.9.0-150200.3.7.3SUSE-RU-2024:0560-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 9 moreplexus-archiver4.8.0-150200.3.7.2SUSE-RU-2024:0560-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 9 moreplexus-compiler2.14.2-150200.3.9.2SUSE-RU-2024:0560-1
openSUSELeap 15.5maven-archiver3.6.1-150200.3.7.3SUSE-RU-2024:0560-1
openSUSELeap 15.5maven-assembly-plugin, maven-dependency-plugin3.6.0-150200.3.7.2SUSE-RU-2024:0560-1
openSUSELeap 15.5maven-common-artifact-filters3.3.2-150200.3.7.3SUSE-RU-2024:0560-1
openSUSELeap 15.5maven-compiler-plugin, maven-compiler-plugin-bootstrap3.11.0-150200.3.7.1SUSE-RU-2024:0560-1
openSUSELeap 15.5maven-dependency-analyzer1.13.2-150200.3.7.2SUSE-RU-2024:0560-1
openSUSELeap 15.5maven-dependency-tree3.2.1-150200.3.7.2SUSE-RU-2024:0560-1
openSUSELeap 15.5maven-enforcer3.4.1-150200.3.7.2SUSE-RU-2024:0560-1
openSUSELeap 15.5maven-plugin-plugin3.9.0-150200.3.7.5SUSE-RU-2024:0560-1
openSUSELeap 15.5maven-plugin-plugin-bootstrap3.9.0-150200.3.7.1SUSE-RU-2024:0560-1
openSUSELeap 15.5maven-plugin-tools3.9.0-150200.3.7.3SUSE-RU-2024:0560-1
openSUSELeap 15.5objectweb-asm9.6-150200.3.11.3SUSE-RU-2024:0560-1
openSUSELeap 15.5plexus-archiver4.8.0-150200.3.7.2SUSE-RU-2024:0560-1
1 more for openSUSE in the JSON and on openSUSE's page.
Azure Linux2javapackages-bootstrap1.5.0-4AZL-27645
Azure Linux3javapackages-bootstrap1.5.0-4AZL-34813

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

There are factors beyond the attacker's control. For example, the victim's server must have an incomplete SSH server configuration by not having the "~/.ssh/authorized_keys" existent and also having an SSH Server Port externally accessible. So, an attacker would need, even in other scenarios, to gather configuration settings and previous knowledge about the environment in order to have a successful attack. The impact is Important as code execution might happen, but it is not guaranteed.

Red Hat Fuse 7 contains plexus-archiver as a transitive dependency and does not make it vulnerable during runtime, hence the low impact.

Red Hat's mitigation

No mitigations are available for this issue.

ProductPackageStateAdvisory
Migration Toolkit for Runtimes 1 on RHEL 8plexus-archiverFixed 2023-10-26RHSA-2023:6138
Red Hat Enterprise Linux 7plexus-archiver-0:2.4.2-6.el7_9Fixed 2023-11-13RHSA-2023:6886
A-MQ Clients 2plexus-archiverNot affected
Cryostat 2plexus-archiverNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel8Affected
Migration Toolkit for Applications 6plexus-archiverAffected
OpenShift Serverlessplexus-archiverNot affected
Red Hat AMQ Broker 7plexus-archiverNot affected
Red Hat Ansible Automation Platform 2plexus-archiverNot affected
Red Hat build of Apache Camel for Spring Boot 3plexus-archiverNot affected
Red Hat build of Apicurio Registry 2plexus-archiverNot affected
Red Hat build of Debezium 2plexus-archiverNot affected
Red Hat build of OptaPlanner 8plexus-archiverNot affected
Red Hat Data Grid 8plexus-archiverNot affected
Red Hat Decision Manager 7plexus-archiverNot affected
Red Hat Fuse 7plexus-archiverFix deferred
Red Hat Integration Camel K 1plexus-archiverNot affected
Red Hat Integration Camel Quarkus 2plexus-archiverNot affected
Red Hat JBoss Data Grid 7plexus-archiverOut of support scope
Red Hat JBoss Enterprise Application Platform 6plexus-archiverOut of support scope
10 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-37460.

Attack patterns (CAPEC)

  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON