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?
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
mvn versions:use-dep-version -Dincludes=org.codehaus.plexus:plexus-utils -DdepVersion=3.0.24 -DforceVersion=trueDetails
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
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2022-4244
- Linkgithub.com/codehaus-plexus/plexus-utils/issues/4
- Linkgithub.com/codehaus-plexus/plexus-utils/commit/33a2853df8185b4519b1b8bfae284f03392618ef
- Linkaccess.redhat.com/errata/RHSA-2023:2135
- Linkaccess.redhat.com/errata/RHSA-2023:3906
- Linkaccess.redhat.com/security/cve/CVE-2022-4244
- Linkbugzilla.redhat.com/show_bug.cgi?id=2149841
- Linksecurity.snyk.io/vuln/SNYK-JAVA-ORGCODEHAUSPLEXUS-31521
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.