CVE-2023-37460

Public Exploit
Plexus Archiver vulnerable to Arbitrary File Creation in AbstractUnArchiver

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.

Category

8.1
CVSS
Severity: High
CVSS 3.1 •
EPSS 29.96% Top 5%
Vendor Advisory github.com
Affected: codehaus-plexus plexus-archiver
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-37460?
CVE-2023-37460 has been scored as a high severity vulnerability.
How to fix CVE-2023-37460?
To fix CVE-2023-37460, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-37460 being actively exploited in the wild?
It is possible that CVE-2023-37460 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~30% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-37460?
CVE-2023-37460 affects codehaus-plexus plexus-archiver.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.