A vulnerability exists in Async through 3.2.1 for 3.x and through 2.6.3 for 2.x (fixed in 3.2.2 and 2.6.4), which could let a malicious user obtain privileges via the mapValues()
method.
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-43138
- https://github.com/caolan/async/commit/e1ecdbf79264f9ab488c7799f4c76996d5dca66d
- https://github.com/caolan/async/blob/master/lib/internal/iterator.js
- https://github.com/caolan/async/blob/master/lib/mapValuesLimit.js
- https://jsfiddle.net/oz5twjd9/
- https://github.com/caolan/async/pull/1828
- https://github.com/caolan/async/commit/8f7f90342a6571ba1c197d747ebed30c368096d2
- https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md#v264
- https://github.com/advisories/GHSA-fwr7-v2mv-hh25