riaevangelist/node-ipc · Security
Embedded Malicious Code in node-ipc
- GHSA ID
- GHSA-97m3-w2cp-4xx6
- CVE ID
- CVE-2022-23812
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
The package node-ipc versions 10.1.1 and 10.1.2 are vulnerable to embedded malicious code that was introduced by the maintainer. The malicious code was intended to overwrite arbitrary files dependent upon the geo-location of the user IP address. The maintainer removed the malicious code in version 10.1.3.
CWEs
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
- CWE-506 · Embedded Malicious Code
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-23812 ↗
- https://github.com/RIAEvangelist/node-ipc/issues/233 ↗
- https://github.com/RIAEvangelist/node-ipc/issues/236 ↗
- https://github.com/RIAEvangelist/node-ipc/commit/847047cf7f81ab08352038b2204f0e7633449580 ↗
- https://github.com/RIAEvangelist/node-ipc/blob/847047cf7f81ab08352038b2204f0e7633449580/dao/ssl-geospec.js ↗
- https://snyk.io/vuln/SNYK-JS-NODEIPC-2426370 ↗
- https://security.netapp.com/advisory/ntap-20220407-0005/ ↗
- https://github.com/advisories/GHSA-97m3-w2cp-4xx6 ↗