First published: Mon Sep 26 2022(Updated: )
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.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
NuProcess | >=1.2.0<2.0.5 | |
Linux kernel |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-39243 is considered a high-severity vulnerability due to its potential for command line injection attacks.
To mitigate CVE-2022-39243, upgrade the NuProcess library to version 2.0.6 or later where the vulnerability has been addressed.
CVE-2022-39243 affects all versions of NuProcess from 1.2.0 through 2.0.5.
While CVE-2022-39243 specifically affects NuProcess, it can indirectly impact any application using this library if not properly secured.
CVE-2022-39243 involves command line injection via NUL characters, allowing attackers to manipulate the command line arguments passed to forked processes.