Amazon Linux 2 Security Advisory: ALAS-2022-1794
Advisory Release Date: 2022-05-04 01:01 Pacific
Advisory Updated Date: 2022-05-05 14:02 Pacific
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. (CVE-2022-29599)
Affected Packages:
maven-shared-utils
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update maven-shared-utils to update your system.
noarch:
maven-shared-utils-0.4-4.amzn2.noarch
maven-shared-utils-javadoc-0.4-4.amzn2.noarch
src:
maven-shared-utils-0.4-4.amzn2.src