Security mailing lists by PureSourceCode

CVE-2021-41167

HIGH 7.5CVSS 3.1

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

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.

Published
20 Oct 2021
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-400CWE-770
Also known as
GHSA-3pcq-34w5-p4g2
Sources
NVDJSONOSV GHSA-3pcq-34w5-p4g2JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD modern-async_project modern-async
cpe:2.3:a:modern-async_project:modern-async:*:*:*:*:*:node.js:*:*
< 1.0.4 1.0.4
OSV npm modern-async < 1.0.4 1.0.4

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 20 Oct 2021)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 21 Oct 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.