CVE-2023-37460

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-37460
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-37460.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-37460
Aliases
Related
Published
2023-07-25T20:15:13Z
Modified
2024-08-01T05:32:59.755968Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/codehaus-plexus/plexus-archiver

Affected ranges

Type
GIT
Repo
https://github.com/codehaus-plexus/plexus-archiver
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

plexus-archiver-2.*

plexus-archiver-2.10
plexus-archiver-2.10.1
plexus-archiver-2.10.2
plexus-archiver-2.10.3
plexus-archiver-2.6
plexus-archiver-2.6.2
plexus-archiver-2.6.3
plexus-archiver-2.6.4
plexus-archiver-2.7
plexus-archiver-2.7.1
plexus-archiver-2.8
plexus-archiver-2.8.1
plexus-archiver-2.8.2
plexus-archiver-2.8.3
plexus-archiver-2.8.4
plexus-archiver-2.9
plexus-archiver-2.9.1

plexus-archiver-3.*

plexus-archiver-3.0.1
plexus-archiver-3.0.2
plexus-archiver-3.0.3
plexus-archiver-3.1
plexus-archiver-3.1.1
plexus-archiver-3.2
plexus-archiver-3.3
plexus-archiver-3.4
plexus-archiver-3.5
plexus-archiver-3.6.0
plexus-archiver-3.7.0

plexus-archiver-4.*

plexus-archiver-4.0.0
plexus-archiver-4.1.0
plexus-archiver-4.2.0
plexus-archiver-4.2.1
plexus-archiver-4.2.2
plexus-archiver-4.2.3
plexus-archiver-4.2.4
plexus-archiver-4.2.5
plexus-archiver-4.2.6
plexus-archiver-4.2.7
plexus-archiver-4.3.0
plexus-archiver-4.4.0
plexus-archiver-4.6.0
plexus-archiver-4.6.1
plexus-archiver-4.6.2
plexus-archiver-4.6.3
plexus-archiver-4.7.0
plexus-archiver-4.7.1