VDB

CVE-2023-37460

CVE-2023-37460 PUBLISHED CVSS 8.1 HIGH

Plexus Archiver vulnerable to Arbitrary File Creation in AbstractUnArchiver

Reported by github_m · Published July 25, 2023

plexus-archiver is fixed in 4.8.0 (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.codehaus.plexus:plexus-archiverMaven Central4.8.0
javapackages-bootstrapAmazon Linux1.5.0^20220105.git9f283b7-3.amzn2023.0.4
hadoop-fips-3.3.6Chainguard3.3.6-r21
plexus-archiverAmazon Linux4.2.7-4.amzn2023.0.1
plexus-archivercodehaus-plexus4.8.0

Risk scores

CVSS 3.1
8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
codehaus-plexusplexus-archiver< 4.8.0
amazon:2023javapackages-bootstrap0
chainguardhadoop-fips-3.3.60
amazon:2023plexus-archiver0
Mavenorg.codehaus.plexus:plexus-archiver0
amazon:2023plexus-archiver-javadoc0
codehaus-plexusplexus-archiver0
codehaus-plexusplexus-archiver0

Timeline

  • Jul 25, 2023 CVE Published
  • Jul 26, 2023 EPSS Score (30 in total, the first dated here)
  • Aug 19, 2025 PoC Published
  • Feb 10, 2026 Security Advisory (2 in total, the first dated here)
  • Aug 7, 2026 Coalition ESS Score
  • Nov 21, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-37460
vulnetix vdb fixes CVE-2023-37460

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-37460/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›