Lucene search

K
osvGoogleOSV:GHSA-3PCQ-34W5-P4G2
HistoryOct 21, 2021 - 5:49 p.m.

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

2021-10-2117:49:30
Google
osv.dev
22

EPSS

0.002

Percentile

64.6%

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.

EPSS

0.002

Percentile

64.6%

Related for OSV:GHSA-3PCQ-34W5-P4G2