Lodash · Lodash · CVE-2020-28500
**Name of the Vulnerable Software and Affected Versions**
lodash versions prior to 4.17.21
**Description**
The issue is related to the `toNumber`, `trim`, and `trimEnd` functions in the lodash library, which can lead to an uncontrolled consumption of resources, potentially causing a denial of service. This can be exploited by a remote attacker. The vulnerability is a Regular Expression Denial of Service (ReDoS) issue.
**Recommendations**
For versions prior to 4.17.21, update to version 4.17.21 or later to resolve the issue.
As a temporary workaround, consider disabling the `toNumber`, `trim`, and `trimEnd` functions until a patch is available.
Restrict the use of these functions to minimize the risk of exploitation.