Amazon Linux Security Advisory
ALAS2023-2023-077
Amazon Linux 2023 - ALAS2023-2023-077: Critical priority package update for maven-shared-utils
Details
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2022-29599: org.apache.maven.shared:maven-shared-utils is a functional replacement for plexus-utils in Maven. Affected versions of this package are vulnerable to Command Injection. The Commandline class can emit double-quoted strings without proper escaping, allowing shell injection attacks. The BourneShell class should unconditionally single-quote emitted strings (including the name of the command itself being quoted), with {{\'"\'"\'}} used for embedded single quotes, for maximum safety across shells implementing a superset of POSIX quoting rules.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2023 | maven-shared-utils | All versions before 3.3.4-4.amzn2023.0.3 (fixed in 3.3.4-4.amzn2023.0.3) |
| Amazon Linux:2023 | maven-shared-utils-javadoc | All versions before 3.3.4-4.amzn2023.0.3 (fixed in 3.3.4-4.amzn2023.0.3) |