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
Related
Published
2022-09-26T14:15:00Z
Modified
2024-10-15T14:10:10Z
Severity
  • 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
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:20.04:LTS / watchman

Package

Name
watchman
Purl
pkg:deb/ubuntu/watchman?arch=src?distro=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

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / watchman

Package

Name
watchman
Purl
pkg:deb/ubuntu/watchman?arch=src?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

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / watchman

Package

Name
watchman
Purl
pkg:deb/ubuntu/watchman?arch=src?distro=oracular

Affected ranges

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

Affected versions

4.*

4.9.0-7build4

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / watchman

Package

Name
watchman
Purl
pkg:deb/ubuntu/watchman?arch=src?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

Ecosystem specific

{
    "ubuntu_priority": "medium"
}