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-archiver-javadocUpgrade plexus-archiver | Nov 14, 2023 | Jul 25, 2023 |
| Redhat_linux | — | Upgrade plexus-archiverUpgrade plexus-archiver-javadoc | Nov 14, 2023 | Jul 25, 2023 |
| Suse | — | Upgrade maven-plugin-pluginUpgrade maven-plugin-tools-generatorsUpgrade maven-enforcer-javadocUpgrade plexus-compiler-extrasUpgrade maven-dependency-analyzer-javadocUpgrade maven-dependency-treeUpgrade plexus-compilerUpgrade maven-plugin-tools-javadocUpgrade plexus-archiver-javadocUpgrade maven-plugin-tools-beanshellUpgrade maven-plugin-tools-modelUpgrade maven-plugin-tools-annotationsUpgrade objectweb-asmUpgrade plexus-archiverUpgrade maven-plugin-tools-javaUpgrade maven-enforcer-rulesUpgrade objectweb-asm-javadocUpgrade maven-assembly-plugin-javadocUpgrade maven-compiler-pluginUpgrade maven-plugin-plugin-bootstrapUpgrade maven-script-antUpgrade maven-compiler-plugin-javadocUpgrade maven-dependency-analyzerUpgrade maven-compiler-plugin-bootstrapUpgrade maven-archiver-javadocUpgrade maven-enforcer-apiUpgrade maven-dependency-tree-javadocUpgrade plexus-compiler-javadocUpgrade maven-script-beanshellUpgrade maven-plugin-plugin-javadocUpgrade maven-enforcerUpgrade maven-dependency-plugin-javadocUpgrade maven-common-artifact-filtersUpgrade maven-plugin-annotationsUpgrade maven-enforcer-pluginUpgrade maven-archiverUpgrade maven-plugin-tools-antUpgrade maven-common-artifact-filters-javadocUpgrade maven-plugin-tools-apiUpgrade maven-dependency-pluginUpgrade maven-assembly-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