CVE-2021-41167 json
Unlimited requests in modern-async
published 2021-10-20 5 y ago modified 2026-07-08 4 mo ago also GHSA-3pcq-34w5-p4g2 , EUVD-2021-2148
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm modern-async 1.0.4
- modern-async_project modern-async 1.0.4
Exploit prediction
1.68% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/nicolas-van/modern-async/issues/5 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | modern-async | <1.0.4 |
1.0.4 |
Affected products
- nicolas-van modern-async
Classification
References
-
github.com
/nicolas-van/modern-async/commit/0010d28de1b15d51db3976080e26357fa7144436
web, patch, third-party-advisory
-
github.com
/nicolas-van/modern-async/issues/5
web, exploit, issue-tracking, patch, third-party-advisory
-
github.com
/nicolas-van/modern-async/security/advisories/GHSA-3pcq-34w5-p4g2
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-41167
advisory
-
github.com
/nicolas-van/modern-async
package
Sources
- CVE List CVE-2021-41167
- GitHub Advisory GHSA-3pcq-34w5-p4g2
- NVD CVE-2021-41167
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.