CVE-2022-39243
CWE-77Published: September 26, 2022· Updated: Jun 17, 2026
Official Description
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.
Risk Analysis
The NuProcess library for Java fails to properly sanitize input when forking processes on Linux, leading to command line injection. This critical vulnerability allows attackers to execute arbitrary commands. The 9.8 CVSS score reflects the high impact of this flaw.
No public exploit is known, and it is not in CISA KEV. The vulnerability is remotely exploitable.
Upgrade to NuProcess version 2.0.5 or later. As a workaround, sanitize all command strings to remove NUL characters before execution.
Technical Analysis
CVE-2022-39243 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (6)
Quick Facts
Related CVEs (CWE-77)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2022-39243 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts