CVE-2022-39243
Summary
| CVE | CVE-2022-39243 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-09-26 14:15:00 UTC |
| Updated | 2023-07-13 17:24:00 UTC |
| 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 And Classification
Problem Types: NVD-CWE-Other
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | - | All | All | All |
| Application | Nuprocess Project | Nuprocess | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Command-line injection through insertion of NUL character(s) · Advisory · brettwooldridge/NuProcess · GitHub | CONFIRM | github.com | |
| Null injection hardening by benhumphreys · Pull Request #143 · brettwooldridge/NuProcess · GitHub | MISC | github.com | |
| Merge pull request #143 from benhumphreys/harden-null-injection · brettwooldridge/NuProcess@29bc09d · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.