{"id":"CVE-2022-39243","published":"2022-09-26T13:25:11Z","modified":"2025-04-22T17:20:18Z","title":"NuProcess vulnerable to command-line injection through insertion of NUL character(s)","vendor":"brettwooldridge","product":"NuProcess","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01594,"percentile":0.76306,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://github.com/brettwooldridge/NuProcess/security/advisories/GHSA-cxgf-v2p8-7ph7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/brettwooldridge/NuProcess/pull/143","tags":["x_refsource_MISC"]},{"url":"https://github.com/brettwooldridge/NuProcess/commit/29bc09de561bf00ff9bf77123756363a9709f868","tags":["x_refsource_MISC"]}],"priority":{"score":21.1,"factors":[{"name":"EPSS percentile","points":15.26},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"brettwooldridge","affectedVersions":[{"vendor":"brettwooldridge","product":"NuProcess","versions":[">= 1.2.0, < 2.0.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-04-22T15:41:21.285384Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.zaxxer:nuprocess","vulnerableRanges":[">=1.2.0, <2.0.5"],"patched":["2.0.5"],"from":["GHSA-cxgf-v2p8-7ph7"],"provenance":"source"}],"summary":{"text":"NuProcess, an external process execution library for Java, is vulnerable to command-line injection through NUL characters in command strings when it forks processes via the JVM's forkAndExec method (versions 1.2.0 and later), because it lacks the NUL check that Java's ProcessBuilder performs. An attacker who can supply command strings to an affected application can inject additional command-line arguments on Linux, with no authentication or user interaction required, provided the application passes untrusted input to NuProcess.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:08:20Z"},"euvd":{"id":"EUVD-2022-6785","exploited":false,"provenance":"source"}}