CVE-2022-4244
High · 7.5CVSS
7.5
EPSS
1.3%
Published
Sep 25, 2023
CISA due date
—
Cloudanix analysis
A widely used software component contained a bug that could let outsiders read private files stored on servers running affected applications.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Library
- Class
- Path Traversal
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Directory traversal flaw allows unauthenticated remote attackers to read arbitrary files outside the intended application directory by supplying crafted paths containing ../ sequences or absolute paths.
Why it matters to the business
Attackers may obtain application source code, configuration files, and other sensitive data stored on the server, increasing risk of credential theft, intellectual property loss, and follow-on attacks; widespread use of the library amplifies exposure across dependent applications.
How an attack unfolds
An attacker identifies an application endpoint that processes user-supplied file paths through the vulnerable plexus-utils library, then supplies malicious relative or absolute paths containing traversal sequences to retrieve files outside the intended root directory.
How to fix it
Upgrade codehaus-plexus/plexus-utils to the commit fd36d8b80ba10955ef065230571ce2be2d4c1bbb or later; validate that path-handling code no longer permits traversal sequences before redeployment.
How to confirm the fix worked
Confirm the plexus-utils library version or commit hash matches the fixed revision; test affected endpoints with known traversal payloads and verify that attempts to access parent directories are rejected.
Typical attack path
- Discover a network-accessible application using the vulnerable plexus-utils version
- Identify an endpoint accepting file or path parameters
- Craft and send requests containing ../ sequences or absolute paths
- Exfiltrate contents of sensitive files such as configuration or credentials
- Use obtained data to escalate privileges or pivot within the environment
How to detect it
Search web server and application logs for HTTP requests containing repeated ../ sequences or absolute paths targeting file-serving endpoints; correlate with unusual file access attempts outside expected application directories.
- ../
- ..%2f
- ..%5c
- %2e%2e%2f
What your security team should do
- Immediately inventory all applications depending on plexus-utils and schedule upgrades to the fixed commit
- Implement web application firewall rules to block common traversal patterns until patches are applied
- Review and harden file-access code paths to enforce allow-listed directories only
The record
A flaw was found in codeplex-codehaus. A directory traversal attack (also known as path traversal) aims to access files and directories stored outside the intended folder. By manipulating files with "dot-dot-slash (../)" sequences and their variations or by using absolute file paths, it may be possible to access arbitrary files and directories stored on the file system, including application source code, configuration, and other critical system files.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Maven | org.codehaus.plexus:plexus-utils | 0 | 3.0.24 |
| Debian:11 | plexus-utils2 | 0 | 3.0.24-1 |
| Debian:12 | plexus-utils2 | 0 | 3.0.24-1 |
| Debian:13 | plexus-utils2 | 0 | 3.0.24-1 |
| Ubuntu:14.04:LTS | plexus-utils2 | 0 | No fix |
| Ubuntu:16.04:LTS | plexus-utils2 | 0 | No fix |
| Ubuntu:18.04:LTS | plexus-utils2 | 0 | No fix |
| Ubuntu:20.04:LTS | plexus-utils2 | 0 | 3.3.0-1 |
| Ubuntu:Pro:14.04:LTS | plexus-utils2 | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | plexus-utils2 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | plexus-utils2 | 0 | No fix |
Related vulnerabilities
- CVE-2022-4245 A flaw was found in codehaus-plexus. Also affects org.codehaus.plexus:plexus-utils
- CVE-2026-81163 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')… CWE-22
- CVE-2026-112049 Vita3K before build 4187 contains a path traversal (zip slip) vulnerability in… CWE-22
- CVE-2026-112005 WhoDB 0.104.0 before 0.135.0 contains a path traversal vulnerability that allows remote… CWE-22
- CVE-2026-61702 OpenPrinting CUPS is an open source printing system for Linux and other Unix-like… CWE-22
- CVE-2026-104871 The Angular SSR is a server-rise rendering tool for Angular applications. CWE-22
- CVE-2026-102991 Mako is a template library written in Python. CWE-22
- CVE-2026-101894 The decompress package for Node.js extracts archives. CWE-22