CVE-2021-29057
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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| node-worker-threads-pool (npm) | up to 1.4.3 | GitHub Advisory Database |
| thoughtworks node-worker-threads-pool | 1.4.3 | NVD |
All scores
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Classification
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
| https://github.com/SUCHMOKUO/node-worker-threads-pool/issues/20 | exploit, issue-tracking, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-29057 | advisory | |
| https://github.com/SUCHMOKUO/node-worker-threads-pool | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-29057 changed 2024-10-09 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7vxc-q7rv-qfj8 changed 2024-10-03 | CC-BY-4.0 |
| NVD | CVE-2021-29057 changed 2026-06-17 | Public domain |