UBUNTU-CVE-2022-39243 (CVE-2022-39243)

Vulnerability from osv_ubuntu – Published: 2022-09-26 14:15 – Updated: 2026-05-20 14:56 – Source website
VLAI
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 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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "python3-pywatchman",
            "binary_version": "4.9.0-3build1"
          },
          {
            "binary_name": "watchman",
            "binary_version": "4.9.0-3build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "watchman",
        "purl": "pkg:deb/ubuntu/watchman@4.9.0-3build1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.9.0-2",
        "4.9.0-3",
        "4.9.0-3build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "python3-pywatchman",
            "binary_version": "4.9.0-6build2"
          },
          {
            "binary_name": "watchman",
            "binary_version": "4.9.0-6build2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "watchman",
        "purl": "pkg:deb/ubuntu/watchman@4.9.0-6build2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.9.0-5build1",
        "4.9.0-5build2",
        "4.9.0-6",
        "4.9.0-6build1",
        "4.9.0-6build2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "python3-pywatchman",
            "binary_version": "4.9.0-7build4"
          },
          {
            "binary_name": "watchman",
            "binary_version": "4.9.0-7build4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "watchman",
        "purl": "pkg:deb/ubuntu/watchman@4.9.0-7build4?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.9.0-7build1",
        "4.9.0-7build2",
        "4.9.0-7build3",
        "4.9.0-7build4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "python3-pywatchman",
            "binary_version": "4.9.0-9"
          },
          {
            "binary_name": "watchman",
            "binary_version": "4.9.0-9"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "watchman",
        "purl": "pkg:deb/ubuntu/watchman@4.9.0-9?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.9.0-8build1",
        "4.9.0-9"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "python3-pywatchman",
            "binary_version": "4.9.0-9build3"
          },
          {
            "binary_name": "watchman",
            "binary_version": "4.9.0-9build3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "watchman",
        "purl": "pkg:deb/ubuntu/watchman@4.9.0-9build3?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.9.0-9",
        "4.9.0-9build1",
        "4.9.0-9build2",
        "4.9.0-9build3"
      ]
    }
  ],
  "aliases": [],
  "details": "NuProcess is an external process execution implementation for Java. In all the versions of NuProcess where it forks processes by using the JVM\u0027s Java_java_lang_UNIXProcess_forkAndExec method (1.2.0+), attackers can use NUL characters in their strings to perform command line injection. Java\u0027s ProcessBuilder isn\u0027t 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.",
  "id": "UBUNTU-CVE-2022-39243",
  "modified": "2026-05-20T14:56:09Z",
  "published": "2022-09-26T14:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-39243"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/brettwooldridge/NuProcess/commit/29bc09de561bf00ff9bf77123756363a9709f868"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/brettwooldridge/NuProcess/security/advisories/GHSA-cxgf-v2p8-7ph7"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/brettwooldridge/NuProcess/pull/143"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2022-39243"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2022-39243"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…