Vulnerability · Published Feb 15, 2021 · Assigned by snyk
CVE-2020-28500Regular Expression Denial of Service (ReDoS)
Medium 5.3
In plain English
A medium-severity security flaw in Lodash. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 7.3% (higher than 94% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)7.3%top 5.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
Lodash versions prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumber, trim and trimEnd functions.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-lodash | 4.17.21+dfsg+~cs8.31.173-1 | DEBIAN-CVE-2020-28500 |
| Debian:13 | node-lodash | 4.17.21+dfsg+~cs8.31.173-1 | DEBIAN-CVE-2020-28500 |
| Debian:14 | node-lodash | 4.17.21+dfsg+~cs8.31.173-1 | DEBIAN-CVE-2020-28500 |
| RubyGems | lodash-rails | 4.17.21 | GHSA-29mw-wpgm-hmr9 |
| Ubuntu:25.10 | node-lodash | 4.17.21+dfsg+~cs8.31.198.20210220-9ubuntu0.25.10.1 | USN-8411-1 |
| npm | lodash | 4.17.21 | GHSA-29mw-wpgm-hmr9 |
| npm | lodash-es | 4.17.21 | GHSA-29mw-wpgm-hmr9 |
| npm | lodash.trim | no fix listed | GHSA-29mw-wpgm-hmr9 |
| npm | lodash.trimend | no fix listed | GHSA-29mw-wpgm-hmr9 |
Affected products (as reported)
References
- https://snyk.io/vuln/SNYK-JS-LODASH-1018905 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074892 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074893 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074894 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBLODASH-1074895 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGFUJIONWEBJARS-1074896 x_refsource_MISC
- https://github.com/lodash/lodash/blob/npm/trimEnd.js%23L8 x_refsource_MISC
- https://github.com/lodash/lodash/pull/5065 x_refsource_MISC
- https://www.oracle.com//security-alerts/cpujul2021.html x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210312-0006/ x_refsource_CONFIRM
- https://www.oracle.com/security-alerts/cpuoct2021.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujan2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujul2022.html x_refsource_MISC
- https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf x_refsource_CONFIRM