CVE-2022-41642: Nadesiko3 OS command injection in compression

CVE-2022-41642 · Severity: low · CVSS 3.1 · Published 2022-12-05

Nadesiko3 is a Japanese programming language runtime for Windows. A command injection flaw in the compression and decompression features allows remote attackers to execute arbitrary system commands. This could enable attackers to take full control of affected systems, compromise data, or deploy malware.

Technologies: nadesiko3 (npm). Vendors: npm.

Quick answers

Is CVE-2022-41642 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-41642 being exploited in the wild.
How severe is CVE-2022-41642?
Low severity, with a CVSS score of 3.1, published 5 December 2022.
Which products and versions are affected?
nadesiko3 (npm) SEMVER:introduced=0,fixed=3.3.69.
Is there a fix for CVE-2022-41642?
Yes. nadesiko3 (npm): upgrade to 3.3.69 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2022-41642 attacked?
It is attacked over the network.
Am I affected by CVE-2022-41642?
Check whether you run nadesiko3 (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • nadesiko3 (npm): upgrade to 3.3.69 or later
    npm install nadesiko3@3.3.69

Technical details

A CWE-78 OS command injection vulnerability exists in Nadesiko3 (PC/Node.js version) affecting compression and decompression operations. The vulnerability stems from insufficient input sanitization when processing compressed files, allowing an attacker to inject shell commands that execute with the privileges of the application. No authentication or special preconditions are required—a remote attacker can trigger the flaw by supplying a malicious compressed file. The vulnerability affects versions 3.3.68 and earlier. Patches are available in version 3.3.69 and later (released December 2022).

Affected products

  • Nadesiko Project Nadesiko3 3.3.68 and earlier

Identifiers

  • CVE-2022-41642
  • GHSA-m8r5-7wf4-63mw

Timeline

  • 2022-12-05: disclosed
  • 2022-12-05: patched: Version 3.3.69 released with patches

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.