CVE-2022-29599
Java vulnerability analysis and mitigation

Overview

In Apache Maven maven-shared-utils prior to version 3.3.3, a critical security vulnerability (CVE-2022-29599) was identified in the Commandline class. The vulnerability allows shell injection attacks due to improper escaping of double-quoted strings (CVE Details, NVD).

Technical details

The vulnerability exists in the Commandline class where double-quoted strings are emitted without proper escaping mechanisms. The BourneShell class should unconditionally single-quote emitted strings, including the name of the command itself, using '"'"' for embedded single quotes to ensure maximum safety across shells implementing POSIX quoting rules. The vulnerability has been assigned a CVSS 3.1 base score of 9.8 (Critical) with attack vector being network-based, requiring low attack complexity and no user interaction (Ubuntu Security).

Impact

The vulnerability allows attackers to perform shell injection attacks, potentially leading to unauthorized command execution with high impact on system confidentiality, integrity, and availability (Ubuntu Security).

Exploitability

The vulnerability is exploitable through network access, requires low attack complexity, and needs no privileges or user interaction for successful exploitation. The attack vector is network-based, making it accessible to remote attackers (Ubuntu Security).

Mitigation and workarounds

The vulnerability has been fixed in maven-shared-utils version 3.3.3. Users are strongly recommended to upgrade to this version or later. Various distributions have also released security updates, including Debian (version 3.3.0-1+deb11u1) and Ubuntu (versions vary by release) (Debian Security, Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-76904CRITICAL9.8
  • Java logoJava
  • org.geotools.jdbc:gt-jdbc-postgis
NoYesAug 21, 2026
GHSA-mqjf-5f49-2fjhCRITICAL9.8
  • Java logoJava
  • org.geotools:gt-jdbc-postgis
NoYesAug 21, 2026
CVE-2026-61827HIGH8.7
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026
CVE-2026-63202HIGH7.5
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026
CVE-2026-63124HIGH7.5
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management