CVE-2022-39243 json
NuProcess vulnerable to command-line injection through insertion of NUL character(s)
published 2022-09-26 4 y ago modified 2026-06-17 4 mo ago also GHSA-cxgf-v2p8-7ph7 , EUVD-2022-6785
- cvss
- 8.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
NuProcess is an external process execution implementation for Java. In all the versions of NuProcess where it forks processes by using the JVM's Java_java_lang_UNIXProcess_forkAndExec method (1.2.0+), attackers can use NUL characters in their strings to perform command line injection. Java's ProcessBuilder isn't vulnerable because of a check in ProcessBuilder.start. NuProcess is missing that check. This vulnerability can only be exploited to inject command line arguments on Linux. Version 2.0.5 contains a patch. As a workaround, users of the library can sanitize command strings to remove NUL characters prior to passing them to NuProcess for execution.
Patch / fix
- maven com.zaxxer:nuprocess 2.0.5
- nuprocess_project nuprocess 2.0.5
- github.com/brettwooldridge/NuProcess@29bc09d commit
- github.com/brettwooldridge/NuProcess#143 pull request
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
1.56% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/brettwooldridge/NuProcess/pull/143 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.zaxxer:nuprocess | >=1.2.0, <2.0.5 |
2.0.5 |
Affected products
- brettwooldridge NuProcess
Classification
- Weakness
-
- CWE-77 Improper Neutralization of Special Elements used in a Command
References
-
github.com
/brettwooldridge/NuProcess/pull/143
web, exploit, patch, third-party-advisory
-
github.com
/brettwooldridge/NuProcess/commit/29bc09de561bf00ff9bf77123756363a9709f868
web, patch, third-party-advisory
-
github.com
/brettwooldridge/NuProcess/security/advisories/GHSA-cxgf-v2p8-7ph7
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-39243
advisory
-
github.com
/brettwooldridge/NuProcess
package
Sources
- CVE List CVE-2022-39243
- GitHub Advisory GHSA-cxgf-v2p8-7ph7
- NVD CVE-2022-39243
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.