Vulnerabilities in pkg:npm/nadesiko3
PACKAGECVE-2022-41642 is a CRITICAL (CVSS 9.8) nadesiko3 os command injection vulnerability vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Nadesiko3 libraries in the npm ecosystem. The issue involves nadesiko3 os command injection vulnerability. Remediation is available by upgrading affected packages to version 3.3.69.
pkg:npm/nadesiko3
Vulnerability advisories affecting package pkg:npm/nadesiko3. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-m8r5-7wf4-63mw | CVE-2022-41642 | CRITICAL | Nadesiko3 OS Command Injection vulnerability |
| GHSA-7249-8x22-4rg4 | CVE-2022-42496 | CRITICAL | nadesiko3 vulnerable to OS Command Injection |
| GHSA-x2jx-w3wm-9p3p | CVE-2022-41777 | MODERATE | nadesiko3 allows remote attacker to inject invalid value to decodeURIComponent of nako3edit |
CVE-2022-41642 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2022-41642
To remediate this vulnerability, upgrade all affected Nadesiko3 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install nadesiko3@3.3.69
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls nadesiko3
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2022-41642, inspect your project dependencies using npm:
npm ls nadesiko3
Analyze the terminal output to locate any version of Nadesiko3 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.3.69), your application is affected.
Note: The npm ls nadesiko3 command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In Nadesiko3, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2022-41642 Affected Nadesiko3 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
nadesiko3
|
npm |
< 3.3.69
|
3.3.69
|
References
Frequently Asked Questions
What is CVE-2022-41642?
Which Nadesiko3 versions are affected?
What version fixes CVE-2022-41642?
Is nadesiko3 affected?
What is the CVSS score of CVE-2022-41642?
What CWE is associated with CVE-2022-41642?
How can I check npm dependencies for CVE-2022-41642?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m8r5-7wf4-63mw",
"modified" : "2022-12-06T22:26:30Z",
"published" : "2022-12-05T06:30:22Z",
"aliases" : [ "CVE-2022-41642" ],
"summary" : "Nadesiko3 OS Command Injection vulnerability",
"details" : "OS command injection vulnerability in Nadesiko3 (PC Version) v3.3.68 and earlier allows a remote attacker to execute an arbitrary OS command when processing compression and decompression on the product.\n\nRelease notes for versions 3.3.62 and 3.3.69 both link to patches for this particular issue. The [JPCERT/CC](https://jvn.jp/en/jp/JVN56968681/index.html) advisory lists versions 3.3.68 and prior as vulnerable, and the most recent patch for this issue is tagged with version 3.3.69.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "nadesiko3"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.3.69"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.3.68"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-41642"
}, {
"type" : "WEB",
"url" : "https://github.com/kujirahand/nadesiko3/issues/1325"
}, {
"type" : "WEB",
"url" : "https://github.com/kujirahand/nadesiko3/issues/1347"
}, {
"type" : "WEB",
"url" : "https://github.com/kujirahand/nadesiko3/commit/124871c064cfc65cdcd83205637e84fc246c76df"
}, {
"type" : "WEB",
"url" : "https://github.com/kujirahand/nadesiko3/commit/56ccfb2f9cceaec83e6a9d3024c3ba8c54ebe1a4"
}, {
"type" : "WEB",
"url" : "https://github.com/kujirahand/nadesiko3/commit/61a70792752a75b7f71df214e98a236721ea3fa6"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kujirahand/nadesiko3"
}, {
"type" : "WEB",
"url" : "https://github.com/kujirahand/nadesiko3/releases/tag/3.3.62"
}, {
"type" : "WEB",
"url" : "https://github.com/kujirahand/nadesiko3/releases/tag/3.3.69"
}, {
"type" : "WEB",
"url" : "https://jvn.jp/en/jp/JVN56968681/index.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-78" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2022-12-06T22:26:30Z",
"nvd_published_at" : "2022-12-05T04:15:00Z"
}
}