High severity7.5NVD Advisory· Published Oct 20, 2021· Updated Jun 17, 2026
CVE-2021-41167
CVE-2021-41167
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
modern-asyncnpm | < 1.0.4 | 1.0.4 |
Affected products
3- cpe:2.3:a:modern-async_project:modern-async:*:*:*:*:*:node.js:*:*Range: <1.0.4
- Range: < 1.0.4
Patches
Vulnerability mechanics
References
5- github.com/nicolas-van/modern-async/commit/0010d28de1b15d51db3976080e26357fa7144436nvdPatchThird Party AdvisoryWEB
- github.com/nicolas-van/modern-async/issues/5nvdExploitIssue TrackingPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-3pcq-34w5-p4g2ghsaADVISORY
- github.com/nicolas-van/modern-async/security/advisories/GHSA-3pcq-34w5-p4g2nvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2021-41167ghsaADVISORY
News mentions
0No linked articles in our index yet.