Arbitrary Command Injection Affecting maven-shared-utils-javadoc package, versions <0:0.4-4.amzn2


Severity

Recommended
0.0
critical
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
4.42% (91st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-MAVENSHAREDUTILSJAVADOC-2808789
  • published6 May 2022
  • disclosed23 May 2022

Introduced: 6 May 2022

CVE-2022-29599  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 maven-shared-utils-javadoc to version 0:0.4-4.amzn2 or higher.
This issue was patched in ALAS2-2022-1794.

NVD Description

Note: Versions mentioned in the description apply only to the upstream maven-shared-utils-javadoc package and not the maven-shared-utils-javadoc package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

In Apache Maven maven-shared-utils prior to version 3.3.3, the Commandline class can emit double-quoted strings without proper escaping, allowing shell injection attacks.

CVSS Base Scores

version 3.1