Amazon Linux Security Advisory
ALAS2-2022-1794
Amazon Linux 2 2017.12 - ALAS2-2022-1794: critical priority package update for maven-shared-utils
Details
Package updates are available for Amazon Linux 2 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:2 | maven-shared-utils | All versions before 0.4-4.amzn2 (fixed in 0.4-4.amzn2) |
| Amazon Linux:2 | maven-shared-utils-javadoc | All versions before 0.4-4.amzn2 (fixed in 0.4-4.amzn2) |