Arbitrary Command Injection Affecting rh-maven36-maven-shared-utils-javadoc package, versions <0:3.2.1-0.2.3.el7


Severity

Recommended
high

Based on Red Hat Enterprise 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-RHEL7-RHMAVEN36MAVENSHAREDUTILSJAVADOC-4864415
  • published26 Apr 2022
  • disclosed29 May 2020

Introduced: 29 May 2020

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

How to fix?

Upgrade RHEL:7 rh-maven36-maven-shared-utils-javadoc to version 0:3.2.1-0.2.3.el7 or higher.
This issue was patched in RHSA-2022:1662.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rh-maven36-maven-shared-utils-javadoc package and not the rh-maven36-maven-shared-utils-javadoc package as distributed by RHEL. See How to fix? for RHEL:7 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