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.
CVSS Details
- CVSS 3.1 Base Score: 8.1
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Centos_linux | — | Upgrade plexus-archiver-javadocUpgrade plexus-archiver | Nov 14, 2023 | Jul 25, 2023 |
| Oracle_linux | — | Upgrade plexus-archiverUpgrade plexus-archiver-javadoc | Nov 14, 2023 | Jul 25, 2023 |
| Redhat_linux | — | Upgrade plexus-archiver-javadocUpgrade plexus-archiver | Nov 14, 2023 | Jul 25, 2023 |
| Suse | — | Upgrade maven-compiler-plugin-bootstrapUpgrade objectweb-asm-javadocUpgrade maven-dependency-analyzerUpgrade maven-plugin-tools-modelUpgrade maven-enforcer-rulesUpgrade objectweb-asmUpgrade maven-dependency-treeUpgrade maven-script-antUpgrade maven-plugin-pluginUpgrade maven-plugin-plugin-bootstrapUpgrade maven-compiler-plugin-javadocUpgrade maven-assembly-plugin-javadocUpgrade maven-plugin-tools-beanshellUpgrade plexus-compiler-extrasUpgrade plexus-archiverUpgrade maven-plugin-tools-annotationsUpgrade maven-plugin-tools-generatorsUpgrade plexus-archiver-javadocUpgrade maven-enforcer-javadocUpgrade maven-compiler-pluginUpgrade maven-dependency-analyzer-javadocUpgrade maven-plugin-tools-javaUpgrade maven-plugin-tools-javadocUpgrade plexus-compilerUpgrade maven-dependency-pluginUpgrade maven-dependency-plugin-javadocUpgrade maven-plugin-annotationsUpgrade maven-plugin-tools-antUpgrade maven-archiverUpgrade plexus-compiler-javadocUpgrade maven-assembly-pluginUpgrade maven-common-artifact-filters-javadocUpgrade maven-plugin-tools-apiUpgrade maven-plugin-plugin-javadocUpgrade maven-enforcerUpgrade maven-script-beanshellUpgrade maven-dependency-tree-javadocUpgrade maven-common-artifact-filtersUpgrade maven-enforcer-apiUpgrade maven-archiver-javadocUpgrade maven-enforcer-plugin | Feb 22, 2024 | Jul 25, 2023 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub