CVE-2022-29599Apache Maven Shared Utils
Critical 9.8 No auth needed
Follow: this CVE · Apache · Apache Maven Shared Utils We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 3.9% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- May 23, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-116
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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
- Apply the vendor's security update for Maven Shared Utils.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.maven.shared:maven-shared-utils |
< 3.3.3 |
3.3.3 |
— |
Per OSV / GitHub Advisories (GHSA-rhgr-952r-6p8q). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | maven_shared_utils | < 3.3.3 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
Official advisories
- Red Hat Security Advisory: Red Hat Product OCP Tools 4.13 OpenShift Jenkins security update · Red Hat · RHSA-2023:6179 · Apr 4, 2026 Critical
- Red Hat Security Advisory: jenkins and jenkins-2-plugins security update · Red Hat · RHSA-2024:0777 · Oct 2, 2024 High
- Red Hat Security Advisory: Red Hat Product OCP Tools 4.12 Openshift Jenkins security update · Red Hat · RHSA-2023:6172 · Oct 2, 2024 Critical
Also: Red Hat (+2)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- github.com Patch Third Party Advisory
- issues.apache.org Patch Vendor Advisory
- lists.debian.org Mailing List Third Party Advisory
- www.debian.org Third Party Advisory