Patrowl Intel
Sign in
CVEs 1
Skip to the CVEs

Filter by signal

1 Node-worker-threads-pool CVEs, newest first

  1. 6.5 1 exploit RemoteAug 11, 2023

    SUCHMOKUO node-worker-threads-pool denial of service Vulnerability 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. This can be mitigated by manually creating a timeout. For example: ```ts const { StaticPool } = require(\"node-worker-threads-pool\"); const staticPool = new StaticPool({ size: 1, task: (n) => { while (n) { console.log(\"a\"); } return n; } }); staticPool.createExecutor().setTimeout(10).exec(1).then((result) => { console.log(\"result from thread pool:\", result); }).catch(() => console.error('timeout')); ```