CVE-2022-4244 Codehaus-plexus: directory traversal

High 7.5 Published Updated

Attackers can access arbitrary files outside the intended directory via path traversal in the Codehaus Plexus library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-4244?

CVE-2022-4244 is a high-severity path traversal vulnerability in Red Hat A-MQ Clients 2, published on 25 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-22

Which versions are affected by CVE-2022-4244?

2 open source packages ship an affected version, including org.codehaus.plexus:plexus-utils. It affects 2 products.

PackageAffectedFixed in
org.codehaus.plexus:plexus-utils MavenAll versions3.0.24
org.codehaus.plexus:plexus-utils MavenAll versions3.0.24

Products include Codehaus-Plexus Plexus-Utils, Redhat Integration Camel K.

How do I fix CVE-2022-4244?

Upgrade org.codehaus.plexus:plexus-utils to 3.0.24 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2022-4244 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-4244 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as CLSA-2025-1765325274, DEBIAN-CVE-2022-4244, GHSA-g6ph-x5wf-g337, UBUNTU-CVE-2022-4244.

Is CVE-2022-4244 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free