CVE-2023-37460
CRITICAL 9.8CVSS 3.1Arbitrary File Creation in AbstractUnArchiver
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.
- Published
- 25 Jul 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-wh3p-fphp-9h2m
- Sources
- NVDJSONOSV GHSA-wh3p-fphp-9h2mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | codehaus-plexus | plexus-archivercpe:2.3:a:codehaus-plexus:plexus-archiver:*:*:*:*:*:*:*:* |
< 4.8.0 | 4.8.0 |
| OSV | Maven | org.codehaus.plexus:plexus-archiver | < 4.8.0 | 4.8.0 |
References
- https://github.com/codehaus-plexus/plexus-archiver/commit/54759839fbdf85caf8442076f001d5fd64e0dcb2 · Patch, WEB
- https://github.com/codehaus-plexus/plexus-archiver/releases/tag/plexus-archiver-4.8.0 · Release Notes, WEB
- https://github.com/codehaus-plexus/plexus-archiver/security/advisories/GHSA-wh3p-fphp-9h2m · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-37460 · ADVISORY
- https://github.com/codehaus-plexus/plexus-archiver · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 25 Jul 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Jul 2023)