Resource exhaustion in Modern-Async Project

CVE-2021-41167

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)

EPSS: 0.016 (73.7th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-41167?
CVE-2021-41167 is a high-severity vulnerability in Modern-Async Project, classified under Uncontrolled Resource Consumption. CVSS score: 7.5/10. Published 2021-10-20.
How severe is CVE-2021-41167?
High severity. CVSS v3 base score is 7.5 out of 10.