{"id":"CVE-2020-28500","published":"2021-02-15T11:10:16Z","modified":"2026-10-08T21:13:56Z","title":"Regular Expression Denial of Service (ReDoS)","vendor":null,"product":null,"tier":"tail","description":{"text":"Lodash versions prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumber, trim and trimEnd functions.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.07424,"percentile":0.94584,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-LODASH-1018905","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074892","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074893","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074894","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBLODASH-1074895","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGFUJIONWEBJARS-1074896","tags":["x_refsource_MISC"]},{"url":"https://github.com/lodash/lodash/blob/npm/trimEnd.js%23L8","tags":["x_refsource_MISC"]},{"url":"https://github.com/lodash/lodash/pull/5065","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20210312-0006/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf","tags":["x_refsource_CONFIRM"]}],"priority":{"score":22.6,"factors":[{"name":"EPSS percentile","points":18.92},{"name":"CVSS severity","points":3.71}]},"affectedVersions":[{"vendor":"n/a","product":"Lodash","versions":["versions prior to 4.17.21"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-08T21:08:42.739059Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"lodash","vulnerableRanges":[">=4.0.0, <4.17.21"],"patched":["4.17.21"],"from":["GHSA-29mw-wpgm-hmr9"],"provenance":"source"},{"ecosystem":"npm","package":"lodash-es","vulnerableRanges":[">=4.0.0, <4.17.21"],"patched":["4.17.21"],"from":["GHSA-29mw-wpgm-hmr9"],"provenance":"source"},{"ecosystem":"npm","package":"lodash.trimend","vulnerableRanges":[">=4.0.0, <=4.5.1"],"patched":[],"from":["GHSA-29mw-wpgm-hmr9"],"provenance":"source"},{"ecosystem":"npm","package":"lodash.trim","vulnerableRanges":[">=4.0.0, <=4.5.1"],"patched":[],"from":["GHSA-29mw-wpgm-hmr9"],"provenance":"source"},{"ecosystem":"RubyGems","package":"lodash-rails","vulnerableRanges":[">=4.0.0, <4.17.21"],"patched":["4.17.21"],"from":["GHSA-29mw-wpgm-hmr9"],"provenance":"source"}],"summary":{"text":"The Lodash JavaScript utility library, in versions prior to 4.17.21, contains a Regular Expression Denial of Service (ReDoS) flaw in its toNumber, trim and trimEnd functions. An attacker with network access can trigger the flaw without authentication or user interaction by supplying crafted input to these functions, causing excessive processing that degrades availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:52:10Z"},"euvd":{"id":"EUVD-2022-0424","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-1010266","published":"2019-07-17","fixed":"4.17.11","kev":false},{"cve":"CVE-2019-10744","published":"2019-07-25","fixed":"4.17.12","kev":false},{"cve":"CVE-2020-8203","published":"2020-07-15","fixed":"4.17.19","kev":false,"link":{"from":"CVE-2020-8203","to":"CVE-2020-28500","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:lodash","fromFixed":"4.17.19","toFixed":"4.17.21","daysApart":215},{"kind":"version-step","provenance":"source","package":"npm:lodash-es","fromFixed":"4.17.20","toFixed":"4.17.21","daysApart":215},{"kind":"same-code","provenance":"machine","files":["lodash.js"],"commits":["https://github.com/lodash/lodash/commit/02906b8191d3c100c193fe6f7b27d1c40f200bb7","https://github.com/lodash/lodash/commit/c4847ebe7d14540bb28a8b932a9ce1b9ecbfee1a","https://github.com/lodash/lodash/commit/c84fe82760fb2d3e03a63379b297a1cc1a2fce12"],"basis":"shared file"}]}},{"cve":"CVE-2020-28500","published":"2021-02-15","fixed":"4.17.21","kev":false},{"cve":"CVE-2021-23337","published":"2021-02-15","fixed":"4.17.21","kev":false},{"cve":"CVE-2025-13465","published":"2026-01-21","fixed":"4.17.23","kev":false},{"cve":"CVE-2026-4800","published":"2026-03-31","fixed":"4.18.0","kev":false}],"package":"npm:lodash"}}