Vulnérabilités / CVE-2023-37460

critique

CVE-2023-37460

plexus-archiver: Arbitrary File Creation in AbstractUnArchiver

Publiée Modifiée CWE 22, 61
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

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

Le label propre à Trivy est CRITICAL. Critique selon NVD, Azure Linux, CBL-Mariner. Plus basse selon GHSA (élevée), Red Hat (élevée), Amazon (élevée), Oracle (élevée).

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.

Paquets affectés et versions corrigées

SourcePaquetCorrigé 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 et 1 autres
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
Afficher les 11 entrées de 7 sources
SourcePaquetCorrigé 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

Références

Les 10 références

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.