{"id":"CVE-2021-29057","aliases":["CVE-2021-29057","GHSA-7vxc-q7rv-qfj8"],"related":[],"kind":"vulnerability","state":"published","title":"SUCHMOKUO node-worker-threads-pool denial of service Vulnerability","summary":"An issue was discovered in StaticPool in SUCHMOKUO node-worker-threads-pool version 1.4.3, allows attackers to cause a denial of service.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in StaticPool in SUCHMOKUO node-worker-threads-pool version 1.4.3, allows attackers to cause a denial of service.","source":"cvelist"},{"lang":"en","text":"An issue was discovered in StaticPool in SUCHMOKUO node-worker-threads-pool version 1.4.3 that allows attackers to cause a denial of service.\n\nThis can be mitigated by manually creating a timeout. For example:\n\n```ts\nconst { StaticPool } = require(\\\"node-worker-threads-pool\\\");\n\t\n\tconst staticPool = new StaticPool({\n size: 1,\n task: (n) => {\n while (n) {\n console.log(\\\"a\\\");\n }\n return n;\n }\n});\n \n staticPool.createExecutor().setTimeout(10).exec(1).then((result) => {\n console.log(\\\"result from thread pool:\\\", result);\n}).catch(() => console.error('timeout'));\n```","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se ha descubierto un problema en StaticPool en node-worker-threads-pool de SUCHMOKUO versión 1.4.3, permite a los atacantes causar una denegación de servicio.","source":"nvd"}],"published":"2023-08-11T00:00:00.000Z","modified":"2026-06-17T03:47:12.857Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-400","CWE-770"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.4.3"}],"ecosystem":"npm","package":"node-worker-threads-pool","purl":"pkg:npm/node-worker-threads-pool","source":"ghsa"},{"ranges":[{"status":"affected","version":"1.4.3"}],"vendor":"thoughtworks","product":"node-worker-threads-pool","cpe":"cpe:2.3:a:thoughtworks:node-worker-threads-pool:1.4.3:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/SUCHMOKUO/node-worker-threads-pool/issues/20","tags":["exploit","issue-tracking","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29057","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/SUCHMOKUO/node-worker-threads-pool","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-10-09T18:37:41.621Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-29057","url":"https://www.cve.org/CVERecord?id=CVE-2021-29057","licence":"CVE Terms of Use","modified":"2024-10-09T18:37:53.130Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7vxc-q7rv-qfj8","url":"https://github.com/advisories/GHSA-7vxc-q7rv-qfj8","licence":"CC-BY-4.0","modified":"2024-10-03T17:26:26.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-29057","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29057","licence":"Public domain","modified":"2026-06-17T03:47:12.857Z"}],"updatedAt":"2026-11-25T22:58:08.498Z","epss":{"score":0.00586,"percentile":0.49386,"date":"2026-12-01T12:00:22.000Z"}}