CVE-2021-23337: Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
55
This week
HIGH 7.2UPGRADEDOWNGRADEDOWNGRADE
CVE-2021-23337 is a high-severity flaw (CVSS 7.2) affecting lodash, banking corporate lending process management, banking credit facilities process management. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-23337?
lodash: upgrade to 4.17.21; banking corporate lending process management: downgrade or apply the listed mitigation; banking credit facilities process management: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-23337 being exploited?
CVE-2021-23337 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-23337 affect?
CVE-2021-23337 affects lodash, banking corporate lending process management, banking credit facilities process management. Severity is high (CVSS 7.2). Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
How urgent is CVE-2021-23337?
Priority 55/100. High severity; EPSS top 2%: very likely to be exploited; Public exploit reference
CVE-2025-13465MEDIUM 5.3UPGRADE The _.unset and _.omit functions in Lodash are vulnerable to prototype pollution
CVE-2020-28500MEDIUM 5.3UPGRADEDOWNGRADE Lodash versions prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumb
CVE-2020-8203HIGH 7.4UPGRADEDOWNGRADE Prototype pollution attack when using _.zipObjectDeep in lodash before 4.17.20.
CVE-2019-10744CRITICAL 9.1UPGRADEMITIGATE Versions of lodash lower than 4.17.12 are vulnerable to Prototype Pollution
CVE-2019-1010266MEDIUM 6.5UPGRADE lodash prior to 4.17.11 is affected by: CWE-400: Uncontrolled Resource Consumption