GitHub Advisoryadvisory · Maven

GHSA-rhgr-952r-6p8q Command injection in Apache Maven maven-shared-utils

CRITICAL Published 2022-05-24 Modified 2022-09-08 Official page ↗
Aliases
CVE-2022-29599
Ecosystem
Maven
Packages
org.apache.maven.shared:maven-shared-utils
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-116, CWE-77
Reviewed
2022-05-25

Affected packages

• Maven org.apache.maven.shared:maven-shared-utils: < 3.3.3 → fixed in 3.3.3

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.

Related

Alias · CVE (1)

  • CVE-2022-29599 In Apache Maven maven-shared-utils prior to version 3.3.3, the Commandline class can emit double-quoted strings without proper escaping,… vulnerability

Weakness · CWE (2)

  • CWE-116 Improper Encoding or Escaping of Output weakness
  • CWE-77 Improper Neutralization of Special Elements used in a Command weakness

References