VDB
CVE-2022-29599
CVE-2022-29599
PUBLISHED
CVSS 9.800000190734863 CRITICAL
Commandline class shell injection vulnerabilities
Reported by apache · Published May 23, 2022
maven-shared-utils is fixed in 3.3.3 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.maven.shared:maven-shared-utils | Maven Central | 3.3.3 |
| maven-shared-utils-javadoc | Amazon Linux | 3.3.4-4.amzn2023.0.3, 0.4-4.amzn2 |
| maven-shared-utils | Amazon Linux | 3.3.4-4.amzn2023.0.3, 0.4-4.amzn2 |
| maven | Arch Linux | 3.3.3-1 |
| maven_shared_utils | apache | 3.3.3 |
| Apache Maven | Apache Software Foundation | 3.3.3 |
Risk scores
CVSS 3.1
9.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Maven | maven-shared-utils |
| amazon:2 | maven-shared-utils-javadoc | 0 |
| Maven | org.apache.maven.shared:maven-shared-utils | 0 |
| amazon:2 | maven-shared-utils | 0 |
| arch | maven | 0 |
| Apache Software Foundation | Apache Maven | * |
| amazon:2023 | maven-shared-utils-javadoc | 0 |
| amazon:2023 | maven-shared-utils | 0 |
Timeline
- Apr 26, 2022 CVE Published
- May 24, 2022 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory (15 in total, the first dated here)
- Jun 27, 2026 Coalition ESS Score
- Oct 31, 2026 Distribution Patch (14 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-29599
vulnetix vdb fixes CVE-2022-29599
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-29599/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- [oss-security] 20220523 CVE-2022-29599: Apache Maven: Commandline class shell injection vulnerabilities mailing-listx_refsource_MLIST
- [debian-lts-announce] 20220829 [SECURITY] [DLA 3086-1] maven-shared-utils security update mailing-listx_refsource_MLIST
- DSA-5242 vendor-advisoryx_refsource_DEBIAN
- https://nvd.nist.gov/vuln/detail/CVE-2022-29599 advisory
- https://github.com/advisories/GHSA-rhgr-952r-6p8q advisory