Skip to content
OpenAdvisories
High · 8.1 Public exploit CVE-2023-37460 EUVD-2023-2164GHSA-wh3p-fphp-9h2m

Plexus Archiver vulnerable to Arbitrary File Creation in AbstractUnArchiver

Published Jul 25, 2023 · Updated Oct 3, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
codehaus-plexus plexus-archiver < 4.8.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 plexus-archiver No fix yet —
Ubuntu 26.04 LTS plexus-archiver No fix yet —
Ubuntu 25.10 plexus-archiver No fix yet —
Ubuntu 24.04 LTS plexus-archiver No fix yet —
Ubuntu 22.04 LTS plexus-archiver No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS plexus-archiver No fix yet —
Ubuntu 16.04 LTS plexus-archiver No fix yet —
Ubuntu 14.04 LTS plexus-archiver No fix yet —
Ubuntu Pro 18.04 LTS plexus-archiver No fix yet —
ReleasePackageFixed inAdvisory
RHEL 7 plexus-archiver +1 2.4.2-6.el7_9 RHSA-2023:6886
ReleasePackageFixed inAdvisory
SLES 15 SP5 maven-archiver 3.6.1-150200.3.7.3 SUSE-RU-2024:0560-1
SLES 15 SP5 maven-common-artifact-filters 3.3.2-150200.3.7.3 SUSE-RU-2024:0560-1
SLES 15 SP5 maven-compiler-plugin 3.11.0-150200.3.7.1 SUSE-RU-2024:0560-1
SLES 15 SP5 maven-plugin-tools 3.9.0-150200.3.7.3 SUSE-RU-2024:0560-1
SLES 15 SP5 objectweb-asm 9.6-150200.3.11.3 SUSE-RU-2024:0560-1
SLES 15 SP5 plexus-archiver 4.8.0-150200.3.7.2 SUSE-RU-2024:0560-1
SLES 15 SP5 plexus-compiler 2.14.2-150200.3.9.2 SUSE-RU-2024:0560-1
SLES 15 SP4 maven-archiver 3.6.1-150200.3.7.3 SUSE-RU-2024:0560-1
SLES 15 SP4 maven-common-artifact-filters 3.3.2-150200.3.7.3 SUSE-RU-2024:0560-1
SLES 15 SP4 maven-compiler-plugin 3.11.0-150200.3.7.1 SUSE-RU-2024:0560-1
SLES 15 SP4 maven-plugin-tools 3.9.0-150200.3.7.3 SUSE-RU-2024:0560-1
SLES 15 SP4 objectweb-asm 9.6-150200.3.11.3 SUSE-RU-2024:0560-1
SLES 15 SP4 plexus-archiver 4.8.0-150200.3.7.2 SUSE-RU-2024:0560-1
SLES 15 SP4 plexus-compiler 2.14.2-150200.3.9.2 SUSE-RU-2024:0560-1
SLES 15 SP3 maven-archiver 3.6.1-150200.3.7.3 SUSE-RU-2024:0560-1
SLES 15 SP3 maven-common-artifact-filters 3.3.2-150200.3.7.3 SUSE-RU-2024:0560-1
SLES 15 SP3 maven-compiler-plugin 3.11.0-150200.3.7.1 SUSE-RU-2024:0560-1
SLES 15 SP3 maven-plugin-tools 3.9.0-150200.3.7.3 SUSE-RU-2024:0560-1
SLES 15 SP3 objectweb-asm 9.6-150200.3.11.3 SUSE-RU-2024:0560-1
SLES 15 SP3 plexus-archiver 4.8.0-150200.3.7.2 SUSE-RU-2024:0560-1
SLES 15 SP3 plexus-compiler 2.14.2-150200.3.9.2 SUSE-RU-2024:0560-1
SLES 15 SP2 maven-archiver 3.6.1-150200.3.7.3 SUSE-RU-2024:0560-1
SLES 15 SP2 maven-common-artifact-filters 3.3.2-150200.3.7.3 SUSE-RU-2024:0560-1
SLES 15 SP2 maven-compiler-plugin 3.11.0-150200.3.7.1 SUSE-RU-2024:0560-1
SLES 15 SP2 maven-plugin-tools 3.9.0-150200.3.7.3 SUSE-RU-2024:0560-1
SLES 15 SP2 objectweb-asm 9.6-150200.3.11.3 SUSE-RU-2024:0560-1
SLES 15 SP2 plexus-archiver 4.8.0-150200.3.7.2 SUSE-RU-2024:0560-1
SLES 15 SP2 plexus-compiler 2.14.2-150200.3.9.2 SUSE-RU-2024:0560-1
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP4 maven-archiver 3.6.1-150200.3.7.3 SUSE-RU-2024:0560-1
SLES for SAP 15 SP4 maven-common-artifact-filters 3.3.2-150200.3.7.3 SUSE-RU-2024:0560-1
SLES for SAP 15 SP4 maven-compiler-plugin 3.11.0-150200.3.7.1 SUSE-RU-2024:0560-1
SLES for SAP 15 SP4 maven-plugin-tools 3.9.0-150200.3.7.3 SUSE-RU-2024:0560-1
SLES for SAP 15 SP4 objectweb-asm 9.6-150200.3.11.3 SUSE-RU-2024:0560-1
SLES for SAP 15 SP4 plexus-archiver 4.8.0-150200.3.7.2 SUSE-RU-2024:0560-1
SLES for SAP 15 SP4 plexus-compiler 2.14.2-150200.3.9.2 SUSE-RU-2024:0560-1
SLES for SAP 15 SP3 maven-archiver 3.6.1-150200.3.7.3 SUSE-RU-2024:0560-1
SLES for SAP 15 SP3 maven-common-artifact-filters 3.3.2-150200.3.7.3 SUSE-RU-2024:0560-1
SLES for SAP 15 SP3 maven-compiler-plugin 3.11.0-150200.3.7.1 SUSE-RU-2024:0560-1
SLES for SAP 15 SP3 maven-plugin-tools 3.9.0-150200.3.7.3 SUSE-RU-2024:0560-1
SLES for SAP 15 SP3 objectweb-asm 9.6-150200.3.11.3 SUSE-RU-2024:0560-1
SLES for SAP 15 SP3 plexus-archiver 4.8.0-150200.3.7.2 SUSE-RU-2024:0560-1
SLES for SAP 15 SP3 plexus-compiler 2.14.2-150200.3.9.2 SUSE-RU-2024:0560-1
SLES for SAP 15 SP2 maven-archiver 3.6.1-150200.3.7.3 SUSE-RU-2024:0560-1
SLES for SAP 15 SP2 maven-common-artifact-filters 3.3.2-150200.3.7.3 SUSE-RU-2024:0560-1
SLES for SAP 15 SP2 maven-compiler-plugin 3.11.0-150200.3.7.1 SUSE-RU-2024:0560-1
SLES for SAP 15 SP2 maven-plugin-tools 3.9.0-150200.3.7.3 SUSE-RU-2024:0560-1
SLES for SAP 15 SP2 objectweb-asm 9.6-150200.3.11.3 SUSE-RU-2024:0560-1
SLES for SAP 15 SP2 plexus-archiver 4.8.0-150200.3.7.2 SUSE-RU-2024:0560-1
SLES for SAP 15 SP2 plexus-compiler 2.14.2-150200.3.9.2 SUSE-RU-2024:0560-1
SLE HPC 15 SP4 maven-archiver 3.6.1-150200.3.7.3 SUSE-RU-2024:0560-1
SLE HPC 15 SP4 maven-common-artifact-filters 3.3.2-150200.3.7.3 SUSE-RU-2024:0560-1
SLE HPC 15 SP4 maven-compiler-plugin 3.11.0-150200.3.7.1 SUSE-RU-2024:0560-1
SLE HPC 15 SP4 maven-plugin-tools 3.9.0-150200.3.7.3 SUSE-RU-2024:0560-1
SLE HPC 15 SP4 objectweb-asm 9.6-150200.3.11.3 SUSE-RU-2024:0560-1
SLE HPC 15 SP4 plexus-archiver 4.8.0-150200.3.7.2 SUSE-RU-2024:0560-1
SLE HPC 15 SP4 plexus-compiler 2.14.2-150200.3.9.2 SUSE-RU-2024:0560-1
SLE HPC 15 SP3 maven-archiver 3.6.1-150200.3.7.3 SUSE-RU-2024:0560-1
SLE HPC 15 SP3 maven-common-artifact-filters 3.3.2-150200.3.7.3 SUSE-RU-2024:0560-1
SLE HPC 15 SP3 maven-compiler-plugin 3.11.0-150200.3.7.1 SUSE-RU-2024:0560-1
SLE HPC 15 SP3 maven-plugin-tools 3.9.0-150200.3.7.3 SUSE-RU-2024:0560-1
SLE HPC 15 SP3 objectweb-asm 9.6-150200.3.11.3 SUSE-RU-2024:0560-1
SLE HPC 15 SP3 plexus-archiver 4.8.0-150200.3.7.2 SUSE-RU-2024:0560-1
SLE HPC 15 SP3 plexus-compiler 2.14.2-150200.3.9.2 SUSE-RU-2024:0560-1
SLE HPC 15 SP2 maven-archiver 3.6.1-150200.3.7.3 SUSE-RU-2024:0560-1
SLE HPC 15 SP2 maven-common-artifact-filters 3.3.2-150200.3.7.3 SUSE-RU-2024:0560-1
SLE HPC 15 SP2 maven-compiler-plugin 3.11.0-150200.3.7.1 SUSE-RU-2024:0560-1
SLE HPC 15 SP2 maven-plugin-tools 3.9.0-150200.3.7.3 SUSE-RU-2024:0560-1
SLE HPC 15 SP2 objectweb-asm 9.6-150200.3.11.3 SUSE-RU-2024:0560-1
SLE HPC 15 SP2 plexus-archiver 4.8.0-150200.3.7.2 SUSE-RU-2024:0560-1
SLE HPC 15 SP2 plexus-compiler 2.14.2-150200.3.9.2 SUSE-RU-2024:0560-1
SUSE Manager Server Module 4.3 objectweb-asm 9.6-150200.3.11.3 SUSE-RU-2024:0560-1
SUSE Manager Server 4.3 objectweb-asm 9.6-150200.3.11.3 SUSE-RU-2024:0560-1
SUSE Manager Proxy 4.3 objectweb-asm 9.6-150200.3.11.3 SUSE-RU-2024:0560-1
SUSE Enterprise Storage 7.1 maven-archiver 3.6.1-150200.3.7.3 SUSE-RU-2024:0560-1
SUSE Enterprise Storage 7.1 maven-common-artifact-filters 3.3.2-150200.3.7.3 SUSE-RU-2024:0560-1
SUSE Enterprise Storage 7.1 maven-compiler-plugin 3.11.0-150200.3.7.1 SUSE-RU-2024:0560-1
SUSE Enterprise Storage 7.1 maven-plugin-tools 3.9.0-150200.3.7.3 SUSE-RU-2024:0560-1
SUSE Enterprise Storage 7.1 objectweb-asm 9.6-150200.3.11.3 SUSE-RU-2024:0560-1
SUSE Enterprise Storage 7.1 plexus-archiver 4.8.0-150200.3.7.2 SUSE-RU-2024:0560-1
SUSE Enterprise Storage 7.1 plexus-compiler 2.14.2-150200.3.9.2 SUSE-RU-2024:0560-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.5 maven-archiver 3.6.1-150200.3.7.3 SUSE-RU-2024:0560-1
openSUSE Leap 15.5 maven-assembly-plugin +1 3.6.0-150200.3.7.2 SUSE-RU-2024:0560-1
openSUSE Leap 15.5 maven-common-artifact-filters 3.3.2-150200.3.7.3 SUSE-RU-2024:0560-1
openSUSE Leap 15.5 maven-compiler-plugin +1 3.11.0-150200.3.7.1 SUSE-RU-2024:0560-1
openSUSE Leap 15.5 maven-dependency-analyzer 1.13.2-150200.3.7.2 SUSE-RU-2024:0560-1
openSUSE Leap 15.5 maven-dependency-tree 3.2.1-150200.3.7.2 SUSE-RU-2024:0560-1
openSUSE Leap 15.5 maven-enforcer 3.4.1-150200.3.7.2 SUSE-RU-2024:0560-1
openSUSE Leap 15.5 maven-plugin-plugin 3.9.0-150200.3.7.5 SUSE-RU-2024:0560-1
openSUSE Leap 15.5 maven-plugin-plugin-bootstrap 3.9.0-150200.3.7.1 SUSE-RU-2024:0560-1
openSUSE Leap 15.5 maven-plugin-tools 3.9.0-150200.3.7.3 SUSE-RU-2024:0560-1
openSUSE Leap 15.5 objectweb-asm 9.6-150200.3.11.3 SUSE-RU-2024:0560-1
openSUSE Leap 15.5 plexus-archiver 4.8.0-150200.3.7.2 SUSE-RU-2024:0560-1
openSUSE Leap 15.5 plexus-compiler 2.14.2-150200.3.9.2 SUSE-RU-2024:0560-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 javapackages-bootstrap 1.5.0^20220105.git9f283b7-3.amzn2023.0.4 ALAS2023-2024-608
Amazon Linux 2023 plexus-archiver +1 4.2.7-4.amzn2023.0.1 ALAS2023-2023-421

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 javapackages-bootstrap 1.5.0-4 —
Azure Linux 2 (CBL-Mariner) javapackages-bootstrap 1.5.0-4 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 plexus-archiver +1 2.4.2-6.el7_9 ELSA-2023-6886

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.codehaus.plexus:plexus-archiver < 4.8.0 4.8.0 GHSA-wh3p-fphp-9h2m

Advisories 7

References