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

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.42%, higher than 91% of CVEs (2026-12-01)
- Published: 2022-05-23T10:25:10.000Z
- Modified: 2026-06-17T04:40:28.633Z
- Also known as: GHSA-rhgr-952r-6p8q
- Weaknesses: CWE-77, CWE-116
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Maven: from maven-shared-utils before 3.3.3
- org.apache.maven.shared:maven-shared-utils (Maven): before 3.3.3
- apache maven_shared_utils: before 3.3.3
- debian debian_linux: 10.0; 11.0

## Every score

- GitHub: 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: 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: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://issues.apache.org/jira/browse/MSHARED-297> (patch, vendor-advisory, web)
- <https://github.com/apache/maven-shared-utils/pull/40> (patch, third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2022/05/23/3> (mailing-list, third-party-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2022/08/msg00018.html> (mailing-list, third-party-advisory, web)
- <https://www.debian.org/security/2022/dsa-5242> (third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-29599> (advisory)
- <https://github.com/apache/maven-shared-utils> (package)

## Sources

- CVE List: [CVE-2022-29599](https://www.cve.org/CVERecord?id=CVE-2022-29599), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-rhgr-952r-6p8q](https://github.com/advisories/GHSA-rhgr-952r-6p8q), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2022-29599](https://nvd.nist.gov/vuln/detail/CVE-2022-29599), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-29599 · Whole record: https://cve.day/CVE-2022-29599.json · Rebuilt by cve.day 2026-11-25T22:58:11.892Z
