{"cve":"CVE-2021-41167","nvd":{"published":"2021-10-20T19:15:07.570","modified":"2026-06-17T04:08:00.683","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-770","CWE-400"],"references":["https://github.com/nicolas-van/modern-async/commit/0010d28de1b15d51db3976080e26357fa7144436","https://github.com/nicolas-van/modern-async/issues/5","https://github.com/nicolas-van/modern-async/security/advisories/GHSA-3pcq-34w5-p4g2","https://github.com/nicolas-van/modern-async/commit/0010d28de1b15d51db3976080e26357fa7144436","https://github.com/nicolas-van/modern-async/issues/5"],"products":["modern-async_project:modern-async"],"source":"nvd","synced_at":"2026-10-19T21:24:39.218183596+00:00"},"epss":{"cve":"CVE-2021-41167","score":0.01678,"percentile":0.76905,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-3pcq-34w5-p4g2","url":"https://osv.dev/vulnerability/GHSA-3pcq-34w5-p4g2","summary":"modern-async's `forEachSeries` and `forEachLimit` functions do not limit the number of requests","modified":"2026-07-08T06:28:00.415961790Z","packages":[{"ecosystem":"npm","name":"modern-async","purl":"pkg:npm/modern-async","ranges":["<1.0.4"],"fixed":["1.0.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}