PT-2022-7347 · Apache+9 · Apache Maven Maven-Shared-Utils+9
Charles Duffy
·
Published
2022-04-26
·
Updated
2026-05-20
·
CVE-2022-29599
CVSS v2.0
10
Critical
| Vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
Apache Maven maven-shared-utils versions prior to 3.3.3
Description
The issue is related to the Commandline class in Apache Maven maven-shared-utils, which can emit double-quoted strings without proper escaping. This allows for shell injection attacks, potentially enabling a remote attacker to conduct code injection attacks in the command shell.
Recommendations
For versions prior to 3.3.3, update to version 3.3.3 or later to resolve the issue. As a temporary workaround, consider disabling the use of double-quoted strings in the Commandline class until a patch is available. Restrict access to the Commandline class to minimize the risk of exploitation. Avoid using the Commandline class with untrusted input until the issue is resolved.
Fix
Command Injection
Improper Encoding or Escaping of Output
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Almalinux
Apache Maven Maven-Shared-Utils
Astra Linux
Centos
Linuxmint
Red Hat
Red Os
Rocky Linux
Ubuntu