7.5high
Unlimited requests in modern-async
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.68% (higher than 77% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-3pcq-34w5-p4g2
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nicolas-van modern-async | < 1.0.4 | CVE List |
| modern-async (npm) | before 1.0.4 | GitHub Advisory Database |
| modern-async_project modern-async | before 1.0.4 | NVD |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
This is 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.
Patches
The problem has been patched in 1.0.4.
Workarounds
There is no workaround aside from upgrading to 1.0.4.
NVD (es)
modern-async es una biblioteca de herramientas de JavaScript de código abierto para operaciones asíncronas usando async/await y promesas. En las versiones afectadas se ha detectado un error que afecta a dos de las funciones de esta biblioteca: forEachSeries y forEachLimit. Deberían limitar la concurrencia de algunas acciones pero, en la práctica, no lo hacen. Cualquier código que llame a estas funciones se escribirá pensando que limitarán la concurrencia pero no lo harán. Esto podría conllevar a posibles problemas de seguridad en otros proyectos. El problema ha sido parcheado en la versión 1.0.4. No se presenta ninguna solución
References
| https://github.com/nicolas-van/modern-async/security/advisories/GHSA-3pcq-34w5-p4g2 | 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/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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-41167 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3pcq-34w5-p4g2 changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-41167 changed 2026-06-17 | Public domain |