Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.maven.shared/maven-shared-utils
  4. ›
  5. CVE-2022-29599

CVE-2022-29599: Command injection in Apache Maven maven-shared-utils

May 23, 2022 (updated September 28, 2023)

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.

References

  • www.openwall.com/lists/oss-security/2022/05/23/3
  • github.com/advisories/GHSA-rhgr-952r-6p8q
  • github.com/apache/maven-shared-utils/pull/40
  • issues.apache.org/jira/browse/MSHARED-297
  • nvd.nist.gov/vuln/detail/CVE-2022-29599

Code Behaviors & Features

Detect and mitigate CVE-2022-29599 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.3.3

Fixed versions

  • 3.3.3

Solution

Upgrade to version 3.3.3 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output

Source file

maven/org.apache.maven.shared/maven-shared-utils/CVE-2022-29599.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:59 +0000.