CVE-2021-41167
HIGH 7.5CVSS 3.1modern-async's `forEachSeries` and `forEachLimit` functions do not limit the number of requests
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.
- Published
- 20 Oct 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-400CWE-770
- Also known as
- GHSA-3pcq-34w5-p4g2
- Sources
- NVDJSONOSV GHSA-3pcq-34w5-p4g2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | modern-async_project | modern-asynccpe:2.3:a:modern-async_project:modern-async:*:*:*:*:*:node.js:*:* |
< 1.0.4 | 1.0.4 |
| OSV | npm | modern-async | < 1.0.4 | 1.0.4 |
References
- https://github.com/nicolas-van/modern-async/commit/0010d28de1b15d51db3976080e26357fa7144436 · Patch, Third Party Advisory, WEB
- https://github.com/nicolas-van/modern-async/issues/5 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/nicolas-van/modern-async/security/advisories/GHSA-3pcq-34w5-p4g2 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-41167 · ADVISORY
- https://github.com/nicolas-van/modern-async · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 20 Oct 2021)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 21 Oct 2021)