Skip to content
Fencer Vulns
high 8.1

CVE-2023-37460 json

Plexus Archiver vulnerable to Arbitrary File Creation in AbstractUnArchiver

published 2023-07-25 3 y ago modified 2026-09-10 1 mo ago also GHSA-wh3p-fphp-9h2m , EUVD-2023-2164

cvss
8.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.5%
EPSS 2.5% chance of exploitation in 30 days, percentile 84%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.codehaus.plexus:plexus-archiver 4.8.0
  • codehaus-plexus plexus-archiver 4.8.0
  • plexus-archiver RHEL 7 2.4.2-6.el7_9
  • plexus-archiver-javadoc RHEL 7 2.4.2-6.el7_9

red hat advisories RHSA-2023:6886

  • objectweb-asm SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES for SAP 15 SP2 +13 more 9.6-150200.3.11.3
  • maven-archiver SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES for SAP 15 SP2 +10 more 3.6.1-150200.3.7.3
  • maven-enforcer openSUSE Leap 15.5 3.4.1-150200.3.7.2
  • plexus-archiver SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES for SAP 15 SP2 +10 more 4.8.0-150200.3.7.2
  • plexus-compiler SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES for SAP 15 SP2 +10 more 2.14.2-150200.3.9.2
  • maven-plugin-tools SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES for SAP 15 SP2 +10 more 3.9.0-150200.3.7.3
  • maven-plugin-plugin openSUSE Leap 15.5 3.9.0-150200.3.7.5
  • maven-assembly-plugin openSUSE Leap 15.5 3.6.0-150200.3.7.2

suse advisories SUSE-RU-2024:0560-1

  • javapackages-bootstrap CBL-Mariner 2.0, Azure Linux 3.0 1.5.0-4

azure linux advisories AZL-27645AZL-34813

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-37460 updated cvss 8.1

plexus-archiver: Arbitrary File Creation in AbstractUnArchiver

  • Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/elasticsearch6-rhel8 Red Hat Migration Toolkit for Applications 6 plexus-archiver Red Hat Fuse 7 plexus-archiver
    affected: workaround, no fix available “No mitigations are available for this issue.”
  • Red Hat JBoss Data Grid 7 plexus-archiver Red Hat JBoss Enterprise Application Platform 6 plexus-archiver Red Hat JBoss Fuse 6 plexus-archiver Red Hat JBoss Fuse Service Works 6 plexus-archiver
    affected: workaround, no fix planned “No mitigations are available for this issue.”
  • Red Hat Migration Toolkit for Runtimes 1 on RHEL 8
    fixed: vendor fix “No mitigations are available for this issue.” RHSA-2023:6138
  • Red Hat Enterprise Linux Client Optional (v. 7) plexus-archiver 2.4.2-6.el7_9, plexus-archiver-javadoc 2.4.2-6.el7_9 Red Hat Enterprise Linux ComputeNode Optional (v. 7) plexus-archiver 2.4.2-6.el7_9, plexus-archiver-javadoc 2.4.2-6.el7_9 Red Hat Enterprise Linux Server Optional (v. 7) plexus-archiver 2.4.2-6.el7_9, plexus-archiver-javadoc 2.4.2-6.el7_9 Red Hat Enterprise Linux Workstation Optional (v. 7) plexus-archiver 2.4.2-6.el7_9, plexus-archiver-javadoc 2.4.2-6.el7_9
    fixed: vendor fix “No mitigations are available for this issue.” RHSA-2023:6886
  • Red Hat A-MQ Clients 2 plexus-archiver Red Hat Cryostat 2 plexus-archiver Red Hat OpenShift Serverless plexus-archiver Red Hat AMQ Broker 7 plexus-archiver Red Hat Ansible Automation Platform 2 plexus-archiver Red Hat build of Apache Camel for Spring Boot 3 plexus-archiver
    +15 more products
    Red Hat build of Apicurio Registry 2 plexus-archiver Red Hat build of Debezium 2 plexus-archiver Red Hat build of OptaPlanner 8 plexus-archiver Red Hat Data Grid 8 plexus-archiver Red Hat Decision Manager 7 plexus-archiver Red Hat Integration Camel K 1 plexus-archiver Red Hat Integration Camel Quarkus 2 plexus-archiver Red Hat JBoss Enterprise Application Platform 7 plexus-archiver Red Hat JBoss Enterprise Application Platform 8 plexus-archiver Red Hat JBoss Enterprise Application Platform Expansion Pack plexus-archiver Red Hat JBoss Web Server 5 plexus-archiver Red Hat Process Automation 7 plexus-archiver Red Hat Single Sign-On 7 plexus-archiver Red Hat support for Spring Boot plexus-archiver Red Hat streams for Apache Kafka plexus-archiver
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
2 y ago

Exploit prediction

2.48% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/codehaus-plexus/plexus-archiver/security/advisories/GHSA-wh3p-fphp-9h2m referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
maven org.codehaus.plexus:plexus-archiver
<4.8.0
4.8.0

Affected products

  • codehaus-plexus plexus-archiver

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory
  • CWE-61 UNIX Symbolic Link (Symlink) Following

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.