HighGHSA-g6ph-x5wf-g337CVE-2022-4244

plexus-codehaus vulnerable to directory traversal

Published 25 Sept 2023 · Updated 3 May 2024

Is your project on an affected org.codehaus.plexus:plexus-utils?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<3.0.24
Fixed in
3.0.24
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.codehaus.plexus:plexus-utils -DdepVersion=3.0.24 -DforceVersion=true

Details

A flaw was found in plexus-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.

Is GHSA-g6ph-x5wf-g337 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.codehaus.plexus:plexus-utils, and gives you the command that fixes it.

More advisories for org.codehaus.plexus:plexus-utils

  • HighCVE-2025-67030Plexus-Utils has a Directory Traversal vulnerability in its extractFile method · 25 Mar 2026
  • MediumCVE-2022-4245codehaus-plexus vulnerable to XML injection · 25 Sept 2023
  • CriticalCVE-2017-1000487OS Command Injection in Plexus-utils · 13 May 2022
org.codehaus.plexus:plexus-utils security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.