All CVEs / Modern-async Project
CVE-2021-41167Modern-async Project Modern-async
High 7.5 No auth needed
Follow: this CVE · Modern-async Project · Modern-async Project Modern-async We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 77
- Auth required
- No
- Published
- Oct 20, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Modern-async.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | modern-async |
< 1.0.4 |
1.0.4 |
npm install modern-async@1.0.4 |
Per OSV / GitHub Advisories (GHSA-3pcq-34w5-p4g2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| modern-async_project | modern-async | < 1.0.4 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Exploit Issue Tracking Patch
- github.com Third Party Advisory