# CVE-2021-41167: Unlimited requests in modern-async

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.68%, higher than 77% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-10-20T18:25:12.000Z
- Modified: 2026-07-08T06:28:00.415Z
- Also known as: GHSA-3pcq-34w5-p4g2
- Weaknesses: CWE-400, CWE-770
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nicolas-van modern-async: < 1.0.4
- modern-async (npm): before 1.0.4
- modern-async_project modern-async: before 1.0.4

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <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://github.com/nicolas-van/modern-async/commit/0010d28de1b15d51db3976080e26357fa7144436> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41167> (advisory)
- <https://github.com/nicolas-van/modern-async> (package)

## Sources

- CVE List: [CVE-2021-41167](https://www.cve.org/CVERecord?id=CVE-2021-41167), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-3pcq-34w5-p4g2](https://github.com/advisories/GHSA-3pcq-34w5-p4g2), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-41167](https://nvd.nist.gov/vuln/detail/CVE-2021-41167), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-41167 · Whole record: https://cve.day/CVE-2021-41167.json · Rebuilt by cve.day 2026-11-25T22:58:04.700Z
