{"id":"CVE-2021-41167","published":"2021-10-20T18:25:12Z","modified":"2024-08-04T02:59:31Z","title":"Unlimited requests in modern-async","vendor":"nicolas-van","product":"modern-async","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01678,"percentile":0.77477,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/nicolas-van/modern-async/security/advisories/GHSA-3pcq-34w5-p4g2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nicolas-van/modern-async/issues/5","tags":["x_refsource_MISC"]},{"url":"https://github.com/nicolas-van/modern-async/commit/0010d28de1b15d51db3976080e26357fa7144436","tags":["x_refsource_MISC"]}],"priority":{"score":20.7,"factors":[{"name":"EPSS percentile","points":15.5},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"nicolas-van","affectedVersions":[{"vendor":"nicolas-van","product":"modern-async","versions":["< 1.0.4"]}],"affected":[{"ecosystem":"npm","package":"modern-async","vulnerableRanges":["<1.0.4"],"patched":["1.0.4"],"from":["GHSA-3pcq-34w5-p4g2"],"provenance":"source"}],"summary":{"text":"The modern-async JavaScript library from nicolas-van has a flaw in its forEachSeries and forEachLimit functions, which fail to enforce the concurrency limits they are meant to impose, so code relying on them runs with unbounded concurrency. An attacker with network access can trigger this without authentication or user interaction, provided the application calls these functions in a way that exposes them to attacker-driven input, causing unrestricted resource consumption that can make the affected service unavailable.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:13:55Z"},"euvd":{"id":"EUVD-2021-2148","exploited":false,"provenance":"source"}}