Directory Traversal Vulnerability in plexus-utils2: Access to Arbitrary Files

plexus-utils2 Updated 02 Oct 2025

Summary

25/09/2023
N/A
Yes i
High
7.5

CVE-2022-4244: A flaw was found in codeplex-codehaus. Affects plexus-utils2 across 2 version ranges.

< 3.0.24-1 < fd36d8b80ba10955ef065230571ce2be2d4c1bbb

Fixed in 3.0.24-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-utils2 is a utility library used in various Java applications, providing essential functions for handling file operations, data manipulation, and other common tasks. Its design aims to simplify development processes by offering reusable components. However, the library has been found vulnerable to a directory traversal attack, which could allow unauthorized access to sensitive files outside the intended directory structure.

Vulnerability Detail

A flaw was identified in plexus-utils2 that allows for a directory traversal attack. This vulnerability arises from improper validation of file paths, enabling attackers to manipulate file requests using 'dot-dot-slash (../)' sequences or absolute paths. The potential ramifications include unauthorized access to critical system files, application source code, and configuration files, which could lead to data breaches or system compromise.

How To Fix

Minimum fixed version

3.0.24-1

This is the first release that contains the fix.

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

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 and restrict access to only the intended directories. This can be done by checking for 'dot-dot-slash' sequences and rejecting any paths that attempt to traverse outside the designated folder.

Conclusion

The directory traversal vulnerability in plexus-utils2 poses a significant risk by allowing unauthorized access to critical files. It is essential to update the package to the latest version to mitigate this risk. Additionally, implementing input validation can serve as a temporary workaround until the update is applied.

See every vulnerability recorded for plexus-utils2 →

Share this vulnerability

FAQ

A directory traversal attack is a security vulnerability that allows an attacker to access files and directories stored outside the intended folder by manipulating file paths.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By uploading your manifest file like package-lock.json, you can check for vulnerabilities without needing to install any software.

The consequences include unauthorized access to sensitive files, which could lead to data breaches, exposure of application source code, and potential system compromise.

Yes, you can implement input validation to sanitize file paths and restrict access to only the intended directories as a temporary measure.

The CVSS score of this vulnerability is 7.5, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for plexus-utils2.

How To Fix

Minimum fixed version

3.0.24-1

This is the first release that contains the fix.

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

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