Regular Expression Denial of Service (ReDoS) in lodash (GHSA-x5rq-j2xg-h7qm) 2
- Severity:
- Medium
Description
lodash prior to 4.7.11 is affected by: CWE-400: Uncontrolled Resource Consumption. The impact is: Denial of service. The component is: Date handler. The attack vector is: Attacker provides very long strings, which the library attempts to match using a regular expression. The fixed version is: 4.7.11.
Recommendation
Update the lodash-es
package to the latest compatible version. Followings are version details:
- Affected version(s): >= 4.7.0, < 4.17.11
- Patched version(s): 4.17.11
References
Related Issues
- Regular Expression Denial of Service (ReDoS) in lodash (GHSA-29mw-wpgm-hmr9) - CVE-2020-28500
- Command Injection in lodash (GHSA-35jh-r3h4-6jhm) - CVE-2021-23337
- Prototype Pollution in lodash (GHSA-p6mc-m468-83gw) 5 - CVE-2020-8203
- Prototype Pollution in lodash (GHSA-jf85-cpcp-j695) 2 - CVE-2019-10744
- Tags:
- npm
- lodash-es
Anything's wrong? Let us know Last updated on September 29, 2025