Improper Encoding or Escaping of Output Affecting maven-shared-utils package, versions <3.3.0-1ubuntu0.20.04.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.84% (82nd 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-UBUNTU2004-MAVENSHAREDUTILS-2813609
  • published19 Mar 2024
  • disclosed23 May 2022

Introduced: 23 May 2022

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

How to fix?

Upgrade Ubuntu:20.04 maven-shared-utils to version 3.3.0-1ubuntu0.20.04.1 or higher.

NVD Description

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

version 3.1