Plexus Archiver vulnerable to Arbitrary File Creation in AbstractUnArchiver
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 5 fixed, 7 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| codehaus-plexus | plexus-archiver | before 4.8.0 | 4.8.0 | Patch available | CNA |
| — | org.codehaus.plexus:plexus-archiver (Maven) | before 4.8.0 | 4.8.0 | Patch available | GHSA-wh3p-fphp-9h2m |
- plexus-archiver Vendorcodehaus-plexus Affected before 4.8.0 Fixed in 4.8.0 Patch available CNA
- org.codehaus.plexus:plexus-archiver (Maven) Vendor— Affected before 4.8.0 Fixed in 4.8.0 Patch available GHSA-wh3p-fphp-9h2m
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:codehaus-plexus:plexus-archiver:*:*:*:*:*:*:*:* | before 4.8.0 | Vulnerable | codehaus-plexus |
- cpe:2.3:a:codehaus-plexus:plexus-archiver:*:*:*:*:*:*:*:* Versions before 4.8.0 Vulnerable ·codehaus-plexus
Remediation
- Fix · CNA plexus-archiver (codehaus-plexus) Fixed in 4.8.0
- Fix · GHSA-wh3p-fphp-9h2m org.codehaus.plexus:plexus-archiver (Maven) Fixed in 4.8.0 Advisory →
Red Hat 2 advisories
- RHSA-2023:6886 Released 2023-11-13 · Red Hat rating Importantplexus-archiver security update
- 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
- RHSA-2023:6138 Released 2023-10-26 · Red Hat rating ImportantMigration Toolkit for Runtimes security update
- Migration Toolkit for Runtimes 1 on RHEL 8
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Logging Subsystem for Red Hat OpenShift | Affected | No fix yet |
| Migration Toolkit for Applications 6 | Affected | No fix yet |
| Red Hat Fuse 7 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Data Grid 7 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Enterprise Application Platform 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Fuse 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Fuse Service Works 6 | Affected | No fix planned: Out of support scope |
| Migration Toolkit for Runtimes 1 on RHEL 8 | Fixed | RHSA-2023:6138 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2023:6886 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2023:6886 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2023:6886 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2023:6886 |
Not affected: 21 products
- A-MQ Clients 2
- Cryostat 2
- OpenShift Serverless
- Red Hat AMQ Broker 7
- Red Hat Ansible Automation Platform 2
- Red Hat Data Grid 8
- Red Hat Decision Manager 7
- Red Hat Integration Camel K 1
- Red Hat Integration Camel Quarkus 2
- Red Hat JBoss Enterprise Application Platform 7
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat JBoss Web Server 5
- Red Hat Process Automation 7
- Red Hat Single Sign-On 7
- Red Hat build of Apache Camel for Spring Boot 3
- Red Hat build of Apicurio Registry 2
- Red Hat build of Debezium 2
- Red Hat build of OptaPlanner 8
- Red Hat support for Spring Boot
- streams for Apache Kafka
Timeline
- 2026-10-02 Threatist record created from CVE-2023-37460
- 2026-10-03 Alias added: GHSA-wh3p-fphp-9h2m
References
Patch 1
More codehaus-plexus Plexus-archiver vulnerabilities
- TI-2018-16132 Path traversal in Codehaus plexus-archiver CVSS 3.0MEDIUM 5.5
Sources
- CVE-2023-37460 · CVE Program
- CVE-2023-37460 · NVD
- FIRST EPSS
- GHSA-wh3p-fphp-9h2m · GitHub Advisory Database · CC BY 4.0
- CVE-2023-37460 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences