Vulnerability library
Security checkSeptember 29, 2025

Regular Expression Denial of Service (ReDoS) in lodash - lodash

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmlodash

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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 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

Could your website be exposed too?

SmartScanner can check your website for Regular Expression Denial of Service (ReDoS) in lodash - lodash and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated September 29, 2025