CVE-2021-41167

Unlimited requests in modern-async

Published Oct 20, 2021 CVSS 3.1 · 7.5 High EPSS 1.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-2148 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 GHSA Github GHSA GHSA-3pcq-34w5-p4g2 modern-async's `forEachSeries` and `forEachLimit` functions do not limit the number of requests
History
Type Values Removed Values Added
Title Unlimited requests in modern-async Unlimited requests in modern-async
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 4, 2024, 2:59 AM
Reserved
Sep 15, 2021, 12:00 AM
Status
Modified
Published
Oct 20, 2021, 7:15 PM
Modified
Jun 17, 2026, 4:08 AM