Vulnerability Details : CVE-2021-41167
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.
Products affected by CVE-2021-41167
- cpe:2.3:a:modern-async_project:modern-async:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-41167
0.24%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 65 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-41167
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
GitHub, Inc. |
CWE ids for CVE-2021-41167
-
The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.Assigned by: security-advisories@github.com (Secondary)
-
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-41167
-
https://github.com/nicolas-van/modern-async/commit/0010d28de1b15d51db3976080e26357fa7144436
Fix #5 · nicolas-van/modern-async@0010d28 · GitHubPatch;Third Party Advisory
-
https://github.com/nicolas-van/modern-async/issues/5
forEachLimit is ignoring the concurrent paramter · Issue #5 · nicolas-van/modern-async · GitHubExploit;Issue Tracking;Patch;Third Party Advisory
-
https://github.com/nicolas-van/modern-async/security/advisories/GHSA-3pcq-34w5-p4g2
forEachSeries and forEachLimit do not limit the number of requests · Advisory · nicolas-van/modern-async · GitHubThird Party Advisory
Jump to