Vulnerabilidades / CVE-2023-37460

crítica

CVE-2023-37460

plexus-archiver: Arbitrary File Creation in AbstractUnArchiver

Publicada Modificada CWE 22, 61
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, Azure Linux, CBL-Mariner. Más baja según GHSA (alta), Red Hat (alta), Amazon (alta), Oracle (alta).

Descripción

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.

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido en
Azure Linux 3.0javapackages-bootstrap0:1.5.0-4.azl3
CBL-Mariner 2.0javapackages-bootstrap0:1.5.0-4.cm2
amazon linux 2023javapackages-bootstrap, plexus-archiver, plexus-archiver-javadoc1.5.0^20220105.git9f283b7-3.amzn2023.0.4 y 1 más
chainguardhadoop-fips-3.3.63.3.6-r21
maven::GitHub Security Advisory Mavenorg.codehaus.plexus:plexus-archiver4.8.0
Oracle Linux 7plexus-archiver, plexus-archiver-javadoc2.4.2-6.el7_9
rapidfort amazon linux 2023plexus-archiver, plexus-archiver-javadoc4.2.7-4.amzn2023.0.1
Mostrar las 11 entradas de 7 fuentes
FuentePaqueteCorregido en
Azure Linux 3.0javapackages-bootstrap0:1.5.0-4.azl3
CBL-Mariner 2.0javapackages-bootstrap0:1.5.0-4.cm2
amazon linux 2023javapackages-bootstrap1.5.0^20220105.git9f283b7-3.amzn2023.0.4
amazon linux 2023plexus-archiver4.2.7-4.amzn2023.0.1
amazon linux 2023plexus-archiver-javadoc4.2.7-4.amzn2023.0.1
chainguardhadoop-fips-3.3.63.3.6-r21
maven::GitHub Security Advisory Mavenorg.codehaus.plexus:plexus-archiver4.8.0
Oracle Linux 7plexus-archiver2.4.2-6.el7_9
Oracle Linux 7plexus-archiver-javadoc2.4.2-6.el7_9
rapidfort amazon linux 2023plexus-archiver4.2.7-4.amzn2023.0.1
rapidfort amazon linux 2023plexus-archiver-javadoc4.2.7-4.amzn2023.0.1

Referencias

Las 10 referencias

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.