CVE-2022-4244
plexus-codehaus vulnerable to directory traversal
Description
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.codehaus.plexus » plexus-utils | < 3.0.24 | 3.0.24 |
Blast radius
68% of the dependent artifacts (12,894) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 47,827 |
| 2 hops | 186,529 |
| 3 hops | 226,445 |
| 4 hops | 120,456 |
| 5 hops | 51,500 |
| 6 hops | 19,815 |
Most used dependents
- org.apache.maven.plugins » maven-compiler-plugin126,333 usages
- org.apache.maven.plugins » maven-source-plugin87,037 usages
- org.apache.maven.plugins » maven-javadoc-plugin84,916 usages
- org.apache.maven.plugins » maven-surefire-plugin67,265 usages
- org.apache.maven.plugins » maven-jar-plugin59,787 usages
- org.apache.maven.plugins » maven-gpg-plugin50,913 usages
- org.sonatype.plugins » nexus-staging-maven-plugin36,701 usages
- org.apache.felix » maven-bundle-plugin31,882 usages
- org.apache.maven.plugins » maven-release-plugin29,114 usages
- org.apache.maven.plugins » maven-assembly-plugin28,314 usages
- org.apache.maven.plugins » maven-dependency-plugin26,231 usages
- org.apache.maven.plugins » maven-resources-plugin22,649 usages
- org.codehaus.mojo » build-helper-maven-plugin22,347 usages
- org.jacoco » jacoco-maven-plugin19,077 usages
- org.apache.maven.plugins » maven-shade-plugin18,801 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-4244
- Webhttps://github.com/codehaus-plexus/plexus-utils/issues/4
- Webhttps://github.com/codehaus-plexus/plexus-utils/commit/33a2853df8185b4519b1b8bfae284f03392618ef
- Webhttps://access.redhat.com/errata/RHSA-2023:2135
- Webhttps://access.redhat.com/errata/RHSA-2023:3906
- Webhttps://access.redhat.com/security/cve/CVE-2022-4244
- Webhttps://bugzilla.redhat.com/show_bug.cgi?id=2149841
- Webhttps://security.snyk.io/vuln/SNYK-JAVA-ORGCODEHAUSPLEXUS-31521
