QID 353291

Date Published: 2022-05-09

QID 353291: Amazon Linux Security Advisory for maven-shared-utils : ALAS2-2022-1794

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)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Critical - 8.6 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2-2022-1794 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 353291

    Software Advisories
    Advisory ID Software Component Link
    ALAS2-2022-1794 Amazon Linux 2 URL Logo alas.aws.amazon.com/AL2/ALAS-2022-1794.html