Vulnerability · Published Oct 20, 2021 · Assigned by GitHub_M
CVE-2021-41167Unlimited requests in modern-async
High 7.5
In plain English
A high-severity uncontrolled resource consumption in modern-async from nicolas-van. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | modern-async | 1.0.4 | GHSA-3pcq-34w5-p4g2 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| nicolas-van | modern-async | < 1.0.4 |
Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H