GitHub Advisory Database
GHSA-rhgr-952r-6p8q
Command injection in Apache Maven maven-shared-utils
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.maven.shared:maven-shared-utils | All versions before 3.3.3 (fixed in 3.3.3) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-29599
- https://github.com/apache/maven-shared-utils/pull/40
- https://github.com/apache/maven-shared-utils
- https://issues.apache.org/jira/browse/MSHARED-297
- https://lists.debian.org/debian-lts-announce/2022/08/msg00018.html
- https://www.debian.org/security/2022/dsa-5242
- http://www.openwall.com/lists/oss-security/2022/05/23/3