CVE-2022-42496: nadesiko3 OS command injection

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

nadesiko3 is a JavaScript-based programming language and IDE used for educational and scripting purposes. An OS command injection vulnerability in the compression/decompression component allows remote attackers to execute arbitrary operating system commands on affected systems, potentially leading to complete system compromise.

Technologies: nadesiko3 (npm). Vendors: npm.

Quick answers

Is CVE-2022-42496 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-42496 being exploited in the wild.
How severe is CVE-2022-42496?
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.75.
Is there a fix for CVE-2022-42496?
Yes. nadesiko3 (npm): upgrade to 3.3.75 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2022-42496 attacked?
It is attacked over the network.
Am I affected by CVE-2022-42496?
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.75 or later
    npm install nadesiko3@3.3.75

Technical details

The vulnerability is a command injection flaw (CWE-78) in the Nako3edit editor component of nadesiko3 PC version v3.3.74 and earlier, specifically in the compression and decompression functionality. An attacker can exploit this vulnerability without authentication to execute arbitrary OS commands and extract the application key. The attack vector is network-based with no preconditions or user interaction required. The vulnerability was fixed in version 3.3.75 and later.

Affected products

  • nadesiko nadesiko3 3.3.74 and earlier

Identifiers

  • CVE-2022-42496
  • GHSA-7249-8x22-4rg4

Timeline

  • 2022-12-05: disclosed
  • 2022-12-05: patched: Fixed in version 3.3.75

References

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