CVE-2021-41167
JSON

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 packageVersionsReported by
nicolas-van modern-async< 1.0.4CVE List
modern-async (npm)before 1.0.4GitHub Advisory Database
modern-async_project modern-asyncbefore 1.0.4NVD

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2021-41167 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-3pcq-34w5-p4g2 changed 2026-07-08CC-BY-4.0
NVDCVE-2021-41167 changed 2026-06-17Public domain