Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS0zcGNxLTM0dzUtcDRnMs0WpQ

modern-async's `forEachSeries` and `forEachLimit` functions do not limit the number of requests

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.

Permalink: https://github.com/advisories/GHSA-3pcq-34w5-p4g2
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zcGNxLTM0dzUtcDRnMs0WpQ
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: over 1 year ago


CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Identifiers: GHSA-3pcq-34w5-p4g2, CVE-2021-41167
References: Repository: https://github.com/nicolas-van/modern-async
Blast Radius: 11.4

Affected Packages

npm:modern-async
Dependent packages: 17
Dependent repositories: 33
Downloads: 68,019 last month
Affected Version Ranges: < 1.0.4
Fixed in: 1.0.4
All affected versions: 0.0.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 1.0.0, 1.0.1, 1.0.2, 1.0.3
All unaffected versions: 1.0.4, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 2.0.0