CVE-2022-29599: Commandline class shell injection vulnerabilities
Vulnerability summary
CVE-2022-29599 is a critical (CVSS 9.8) Improper Encoding or Escaping of Output vulnerability in apache software foundation apache maven. EPSS estimates a 4.42% chance of exploitation in the next 30 days, higher than 91.3% of scored vulnerabilities.
Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 4% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 11Timeline
- 23-05-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 6 sources · 2 versions- OSV · Red hatEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · MavenEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
4.42%
Chance of exploitation in the next 30 days
Percentile
91%
Versus all other CVEs
30-day change
No change 0.00 pp
From 4.42% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat57 products
- aopalliance< 0:1.0-17.module+el8+2452+b359bfcd | < 0:1.0-20.module+el8.2.0+5557+11a14461 | < 0:1.0-20.module+el8.3.0+6804+157bd82e | < 0:1.0-20.module+el8.6.0+13337+afcb49ec
- apache-commons-cli< 0:1.4-4.module+el8+2452+b359bfcd | < 0:1.4-7.module+el8.2.0+5557+11a14461 | < 0:1.4-7.module+el8.3.0+6804+157bd82e | < 0:1.4-7.module+el8.6.0+13337+afcb49ec
- apache-commons-codec< 0:1.11-3.module+el8+2452+b359bfcd | < 0:1.13-3.module+el8.2.0+5557+11a14461 | < 0:1.13-3.module+el8.3.0+6804+157bd82e | < 0:1.13-3.module+el8.6.0+13337+afcb49ec
- apache-commons-io< 1:2.6-3.module+el8+2452+b359bfcd | < 1:2.6-6.module+el8.2.0+5557+11a14461 | < 1:2.6-6.module+el8.3.0+6804+157bd82e | < 1:2.6-6.module+el8.6.0+13337+afcb49ec
- apache-commons-lang3< 0:3.7-3.module+el8+2452+b359bfcd | < 0:3.9-4.module+el8.2.0+5557+11a14461 | < 0:3.9-4.module+el8.3.0+6804+157bd82e | < 0:3.9-4.module+el8.6.0+13337+afcb49ec
Chainguard3 products
- hadoop-fips-3.3.6All versions (No fix recorded)
- hadoop-fips-3.4.2All versions (No fix recorded)
- hadoop-fips-3.5All versions (No fix recorded)
Debian2 products
- maven-shared-utils< 3.3.0-1+deb11u1 | < 3.0.0-1+deb9u1 | < 3.3.0-1+deb10u1 | < 3.3.4-1
- debian_linuxEOL10.0 | 11.0
Apache1 product
- maven_shared_utils< 3.3.3
Apache software foundation1 product
- apache maven≥ maven-shared-utils, < 3.3.3
Org.apache.maven.shared1 product
- maven-shared-utils< 3.3.3
Ubuntu1 product
- maven-shared-utils< 0.4-1ubuntu0.1~esm1 | < 0.9-1ubuntu0.1~esm1 | < 3.3.0-1ubuntu0.18.04.1~esm1 | < 3.3.0-1ubuntu0.20.04.1 | < 3.3.0-1ubuntu0.22.04.1
7 vendors · 66 products
References
30 links- www.openwall.com/lists/oss-security/2022/05/23/3Mailing ListX Refsource MLISTWEBThird Party Advisory
- lists.debian.org/debian-lts-announce/2022/08/msg00018.htmlMailing ListX Refsource MLISTWEBThird Party Advisory