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.
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://github.com/advisories/GHSA-97m3-w2cp-4xx6