WaratekVRT Sign in

CVE-2022-29599

Severity9.8 Critical CVSS 3.1 2 scores
Fixed in3.3.3
WeaknessCommand injection (CWE-77)
Published23 May 2022
Updated17 Jun 2026

Description

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.

CWE-116

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 4 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 4.4% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR command-injection security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-77: Command Injection.
Candidate fix https://github.com/apache/maven-shared-utils/pull/40 : a pull request: the change under review

How to mitigate CVE-2022-29599

Upgrade the affected software to 3.3.3 or later. Until you can, Waratek RASP blocks exploitation with its process rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

9.8 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 2.0 7.5 none AV:N/AC:L/Au:N/C:P/I:P/A:P NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update October 2023 ↗ CPU 2023-Q4 Oracle Fusion Middleware / Centralized Thirdparty Jars (Apache Maven Shared Utils) (14.1.1.0.0)
Oracle Critical Patch Update April 2023 ↗ CPU 2023-Q2 Oracle Fusion Middleware / Third Party (Apache Maven) (12.2.1.4.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Fusion Middleware Centralized Thirdparty Jars (Apache Maven Shared Utils) 14.1.1.0.0 14.1.1.0.0
Oracle Fusion Middleware Third Party (Apache Maven) 12.2.1.4.0 12.2.1.4.0

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.maven.shared:maven-shared-utils 0 3.3.3 unbounded

Products and versions

3 products, 4 version entries
SourceVendorProductSchemeAffected versions
nvd apache maven shared utils generic < 3.3.3
nvd debian debian linux generic 10.0 · 11.0
osv org.apache.maven.shared maven-shared-utils generic < 3.3.3

References

URLTags
https://github.com/apache/maven-shared-utils/pull/40 pr
https://access.redhat.com/errata/RHSA-2022:4797 ADVISORY, RHSA-2022:4797
https://bugzilla.redhat.com/show_bug.cgi?id=2066479 REPORT, RHSA-2022:4797
https://access.redhat.com/security/cve/CVE-2022-29599 REPORT, RHSA-2022:4797
https://github.com/apache/maven-shared-utils PACKAGE
https://issues.apache.org/jira/browse/MSHARED-297 WEB
https://lists.debian.org/debian-lts-announce/2022/08/msg00018.html WEB
https://www.debian.org/security/2022/dsa-5242 WEB
http://www.openwall.com/lists/oss-security/2022/05/23/3 WEB

Timeline

Published2022-05-23By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.