CRITICAL 9.8
CVE-2022-29599
Command injection in Apache Maven maven-shared-utils
Description
In Apache Maven maven-shared-utils prior to version 3.3.3, the Commandline class can emit double-quoted strings without proper escaping, allowing shell injection attacks.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.maven.shared » maven-shared-utils | < 3.3.3 | 3.3.3 |
Blast radius
1affected artifacts
14affected versions
4,057dependent artifacts (est.)
113,552dependent versions
56% of the dependent artifacts (2,284) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 16,494 |
| 2 hops | 36,341 |
| 3 hops | 21,103 |
| 4 hops | 29,373 |
| 5 hops | 8,385 |
| 6 hops | 1,856 |
Most used dependents
- org.apache.maven.plugins » maven-compiler-plugin126,360 usages
- org.apache.maven.plugins » maven-source-plugin87,053 usages
- org.apache.maven.plugins » maven-javadoc-plugin84,933 usages
- org.apache.maven.plugins » maven-surefire-plugin67,290 usages
- org.apache.maven.plugins » maven-jar-plugin59,810 usages
- org.apache.maven.plugins » maven-gpg-plugin50,919 usages
- org.apache.felix » maven-bundle-plugin31,890 usages
- org.apache.maven.plugins » maven-release-plugin29,116 usages
- org.apache.maven.plugins » maven-assembly-plugin28,316 usages
- org.apache.maven.plugins » maven-dependency-plugin26,233 usages
- org.apache.maven.plugins » maven-resources-plugin22,655 usages
- org.codehaus.mojo » build-helper-maven-plugin22,349 usages
- org.apache.maven.plugins » maven-shade-plugin18,804 usages
- org.apache.maven.plugins » maven-enforcer-plugin16,373 usages
- org.apache.maven.plugins » maven-deploy-plugin16,279 usages
Computed from the dependency graph of build 20261125.0317 (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
| Advisory | NVD CVE-2022-29599 | nvd.nist.gov |
| Package | apache/maven-shared-utils | github.com |
| Web | apache/maven-shared-utils pull request #40 | github.com |
| Web | jira/browse/MSHARED-297 | issues.apache.org |
| Web | debian-lts-announce/2022/08/msg00018.html | lists.debian.org |
| Web | security/2022/dsa-5242 | debian.org |
| Web | lists/oss-security/2022/05/23/3 | openwall.com |
