Directory Traversal Vulnerability in plexus-archiver: Zip-Slip Risk

plexus-archiver Updated 02 Oct 2025

Summary

25/07/2018
N/A
Yes i
Medium
5.5

CVE-2018-1002200: plexus-archiver before 3.6.0 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in an archive entry that is mishandled during extraction. Affects plexus-archiver across 2 version ranges.

< 3.6.0-1 < f8f4233508193b70df33759ae9dc6154d69c2ea8

Fixed in 3.6.0-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

plexus-archiver is a Java library used for creating and extracting archive files. It is part of the Plexus project, which provides a set of tools for building software. The library is designed to handle various archive formats, making it a versatile tool for developers. However, prior to version 3.6.0, plexus-archiver is susceptible to a directory traversal vulnerability, commonly referred to as 'Zip-Slip'. This vulnerability can allow attackers to manipulate archive entries to write files outside of the intended directory structure.

Vulnerability Detail

The vulnerability arises from improper handling of file paths during the extraction process of archive files. Specifically, the use of '..' (dot dot) sequences in file paths can lead to directory traversal, enabling attackers to write to arbitrary locations on the filesystem. This can result in unauthorized file creation or modification, potentially compromising the integrity and security of the system. The vulnerability is particularly concerning as it can be exploited through seemingly benign archive files, making it a stealthy attack vector.

How To Fix

Minimum fixed version

3.6.0-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade plexus-archiver

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If an immediate update is not feasible, consider implementing input validation to sanitize file paths before extraction. This can help mitigate the risk of directory traversal attacks. Additionally, avoid extracting archives from untrusted sources.

Conclusion

The directory traversal vulnerability in plexus-archiver poses a significant risk to systems using this library. It is crucial for users to update to the latest version to protect against potential exploitation. Implementing additional security measures, such as input validation, can further enhance protection.

See every vulnerability recorded for plexus-archiver →

Share this vulnerability

FAQ

The CVSS score for this vulnerability is 5.5, indicating a moderate level of severity.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

Exploitation of this vulnerability can lead to unauthorized file access, modification, or creation, potentially compromising system security.

Yes, implementing input validation to sanitize file paths can help mitigate the risk of directory traversal attacks.

Versions of plexus-archiver prior to 3.6.0 are affected by this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for plexus-archiver.

How To Fix

Minimum fixed version

3.6.0-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade plexus-archiver

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback