UBUNTU-CVE-2022-39243

Source
https://ubuntu.com/security/CVE-2022-39243
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-39243.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-39243
Published
2022-09-26T14:15:00Z
Modified
2025-07-14T06:35:05.885972Z
Upstream
Severity
  • 8.4 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • - medium
Summary
[none]
Details

NuProcess is an external process execution implementation for Java. In all the versions of NuProcess where it forks processes by using the JVM's JavajavalangUNIXProcessforkAndExec 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.

References

Affected packages

Ubuntu:Pro:20.04:LTS / watchman

Package

Name
watchman
Purl
pkg:deb/ubuntu/watchman@4.9.0-3build1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.9.0-2
4.9.0-3
4.9.0-3build1

Ubuntu:22.04:LTS / watchman

Package

Name
watchman
Purl
pkg:deb/ubuntu/watchman@4.9.0-6build2?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.9.0-5build1
4.9.0-5build2
4.9.0-6
4.9.0-6build1
4.9.0-6build2

Ubuntu:24.04:LTS / watchman

Package

Name
watchman
Purl
pkg:deb/ubuntu/watchman@4.9.0-7build4?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.9.0-7build1
4.9.0-7build2
4.9.0-7build3
4.9.0-7build4

Ubuntu:25.04 / watchman

Package

Name
watchman
Purl
pkg:deb/ubuntu/watchman@4.9.0-8build1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.9.0-7build4
4.9.0-7build5
4.9.0-8
4.9.0-8build1