QID 356626
Date Published: 2023-11-09
QID 356626: Amazon Linux Security Advisory for plexus-archiver : ALAS2023-2023-421
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. (
( CVE-2023-37460)
Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.
Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.
- ALAS2023-2023-421 -
alas.aws.amazon.com/AL2023/ALAS-2023-421.html
CVEs related to QID 356626
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| ALAS2023-2023-421 | amazon linux 2023 |
|