PT-2022-24837 · Nuprocess · Nuprocess
Brettwooldridge
·
Published
2022-09-26
·
Updated
2023-07-13
·
CVE-2022-39243
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
NuProcess versions 1.2.0 through 2.0.4
Description
NuProcess is an external process execution implementation for Java that is vulnerable to command line injection attacks. Attackers can use NUL characters in their strings to inject command line arguments. This issue is specific to Linux and can be exploited due to the missing check in NuProcess, which is present in Java's ProcessBuilder. The vulnerability can only be exploited on Linux, as on macOS and Windows, any argument with a NUL character is truncated, preventing the malicious arguments from being seen by the started process.
Recommendations
For NuProcess versions 1.2.0 through 2.0.4, update to version 2.0.5 to resolve the issue.
As a temporary workaround for versions 1.2.0 through 2.0.4, users of the library can sanitize command strings to remove NUL characters prior to passing them to NuProcess for execution.
Exploit
Fix
Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Nuprocess