CVE-2023-37460
Summary
| CVE | CVE-2023-37460 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-07-25 20:15:00 UTC |
| Updated | 2023-08-03 13:52:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| Release 4.8.0 · codehaus-plexus/plexus-archiver · GitHub |
MISC |
github.com |
|
| Avoid override target symlink by standard file in AbstractUnArchiver · codehaus-plexus/plexus-archiver@5475983 · GitHub |
MISC |
github.com |
|
| Arbitrary File Creation in AbstractUnArchiver · Advisory · codehaus-plexus/plexus-archiver · GitHub |
MISC |
github.com |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 161056 Oracle Enterprise Linux Security Update for plexus-archiver (ELSA-2023-6886)
- 242405 Red Hat Update for plexus-archiver (RHSA-2023:6886)
- 356626 Amazon Linux Security Advisory for plexus-archiver : ALAS2023-2023-421