Resource exhaustion in Modern-Async Project
CVE-2021-41167
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.017 · 77.3th percentile
- Published
- 2021-10-20
What to do
- Fixed in
1.0.4- Affected
- 2 affected products
modern-async is an open source JavaScript tooling library for asynchronous operations using async/await and promises. In affected versions a bug affecting two of the functions in this library: forEachSeries and forEachLimit. They should limit the concurrency of some actions but, in practice, they don't. Any code calling these functions will be written thinking they would limit the concurrency but they won't. This could lead to potential security issues in other projects. The problem has been patched in 1.0.4. There is no workaround.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.017, 77.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Modern-Async Project
- Nicolas-Van Modern-Async — versions < 1.0.4
Weakness classification (CWE)
References
- github.com/nicolas-van/modern-async/security/advisories/GHSA-3pcq-34w5-p4g2 (Third Party Advisory)
- github.com/nicolas-van/modern-async/issues/5 (Exploit, Patch, Third Party Advisory, Issue Tracking)
- github.com/nicolas-van/modern-async/commit/0010d28de1b15d51db3976080e26357fa714… (Patch, Third Party Advisory)