CVE-2021-29057
JSON

6.5medium

SUCHMOKUO node-worker-threads-pool denial of service Vulnerability

Severity
6.5medium CVSS:3.1 by NVD
Exploit likelihood
0.59% (higher than 49% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-7vxc-q7rv-qfj8

Description

An issue was discovered in StaticPool in SUCHMOKUO node-worker-threads-pool version 1.4.3, allows attackers to cause a denial of service.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
node-worker-threads-pool (npm)up to 1.4.3GitHub Advisory Database
thoughtworks node-worker-threads-pool1.4.3NVD

All scores

GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Classification

CWE-400CWE-770

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

An issue was discovered in StaticPool in SUCHMOKUO node-worker-threads-pool version 1.4.3, allows attackers to cause a denial of service.

GitHub Advisory Database

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:

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'));
NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-29057 changed 2024-10-09CVE Terms of Use
GitHub Advisory DatabaseGHSA-7vxc-q7rv-qfj8 changed 2024-10-03CC-BY-4.0
NVDCVE-2021-29057 changed 2026-06-17Public domain