apache/maven-shared-utils · Security
Command injection in Apache Maven maven-shared-utils
- GHSA ID
- GHSA-rhgr-952r-6p8q
- CVE ID
- CVE-2022-29599
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
CWEs
- CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
- CWE-116 · Improper Encoding or Escaping of Output
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-29599 ↗
- https://github.com/apache/maven-shared-utils/pull/40 ↗
- https://issues.apache.org/jira/browse/MSHARED-297 ↗
- http://www.openwall.com/lists/oss-security/2022/05/23/3 ↗
- https://lists.debian.org/debian-lts-announce/2022/08/msg00018.html ↗
- https://www.debian.org/security/2022/dsa-5242 ↗
- https://github.com/advisories/GHSA-rhgr-952r-6p8q ↗