CVE-2023-37460

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:codehaus-plexus:plexus-archiver:*:*:*:*:*:*:*:*

History

21 Nov 2024, 08:11

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 9.8
v2 : unknown
v3 : 8.1
References () https://github.com/codehaus-plexus/plexus-archiver/commit/54759839fbdf85caf8442076f001d5fd64e0dcb2 - Patch () https://github.com/codehaus-plexus/plexus-archiver/commit/54759839fbdf85caf8442076f001d5fd64e0dcb2 - Patch
References () https://github.com/codehaus-plexus/plexus-archiver/releases/tag/plexus-archiver-4.8.0 - Release Notes () https://github.com/codehaus-plexus/plexus-archiver/releases/tag/plexus-archiver-4.8.0 - Release Notes
References () https://github.com/codehaus-plexus/plexus-archiver/security/advisories/GHSA-wh3p-fphp-9h2m - Exploit, Vendor Advisory () https://github.com/codehaus-plexus/plexus-archiver/security/advisories/GHSA-wh3p-fphp-9h2m - Exploit, Vendor Advisory

03 Aug 2023, 13:52

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
References (MISC) https://github.com/codehaus-plexus/plexus-archiver/commit/54759839fbdf85caf8442076f001d5fd64e0dcb2 - (MISC) https://github.com/codehaus-plexus/plexus-archiver/commit/54759839fbdf85caf8442076f001d5fd64e0dcb2 - Patch
References (MISC) https://github.com/codehaus-plexus/plexus-archiver/releases/tag/plexus-archiver-4.8.0 - (MISC) https://github.com/codehaus-plexus/plexus-archiver/releases/tag/plexus-archiver-4.8.0 - Release Notes
References (MISC) https://github.com/codehaus-plexus/plexus-archiver/security/advisories/GHSA-wh3p-fphp-9h2m - (MISC) https://github.com/codehaus-plexus/plexus-archiver/security/advisories/GHSA-wh3p-fphp-9h2m - Exploit, Vendor Advisory
First Time Codehaus-plexus
Codehaus-plexus plexus-archiver
CPE cpe:2.3:a:codehaus-plexus:plexus-archiver:*:*:*:*:*:*:*:*

25 Jul 2023, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-07-25 20:15

Updated : 2024-11-21 08:11


NVD link : CVE-2023-37460

Mitre link : CVE-2023-37460

CVE.ORG link : CVE-2023-37460


JSON object : View

Products Affected

codehaus-plexus

  • plexus-archiver
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-61

UNIX Symbolic Link (Symlink) Following