CVE-2022-29599
CRITICAL 9.8CVSS 3.1Command injection in Apache Maven maven-shared-utils
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.
- Published
- 23 May 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-116CWE-77
- Also known as
- GHSA-rhgr-952r-6p8q
- Sources
- NVDJSONOSV GHSA-rhgr-952r-6p8qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | maven_shared_utilscpe:2.3:a:apache:maven_shared_utils:*:*:*:*:*:*:*:* |
< 3.3.3 | 3.3.3 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| OSV | Maven | org.apache.maven.shared:maven-shared-utils | < 3.3.3 | 3.3.3 |
References
- http://www.openwall.com/lists/oss-security/2022/05/23/3 · Mailing List, Third Party Advisory, WEB
- https://github.com/apache/maven-shared-utils/pull/40 · Patch, Third Party Advisory, WEB
- https://issues.apache.org/jira/browse/MSHARED-297 · Patch, Vendor Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/08/msg00018.html · Mailing List, Third Party Advisory, WEB
- https://www.debian.org/security/2022/dsa-5242 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-29599 · ADVISORY
- https://github.com/apache/maven-shared-utils · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 23 May 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 May 2022)