{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-28500","id":"CVE-2020-28500","title":"Regular Expression Denial of Service (ReDoS)","description":"Lodash versions prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumber, trim and trimEnd functions.","descriptionLong":"Lodash versions prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumber, trim and trimEnd functions.","published":"2021-02-15T11:10:16.225Z","updated":"2026-10-24T10:50:03.753647743Z","reserved":"2020-11-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P","rating":"medium","source":"snyk"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P","rating":"medium","source":"snyk"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"snyk.io"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"NVD"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":["Lodash"],"affectedProducts":[{"vendor":"n/a","product":"Lodash","defaultStatus":null,"versions":[{"status":"affected","version":"versions prior to 4.17.21"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"lodash","purl":"pkg:npm/lodash","ranges":[">=4.0.0 <4.17.21"],"fixed":["4.17.21"],"advisory":"GHSA-29mw-wpgm-hmr9"},{"ecosystem":"npm","name":"lodash-es","purl":"pkg:npm/lodash-es","ranges":[">=4.0.0 <4.17.21"],"fixed":["4.17.21"],"advisory":"GHSA-29mw-wpgm-hmr9"},{"ecosystem":"npm","name":"lodash.trimend","purl":"pkg:npm/lodash.trimend","ranges":[">=4.0.0 <=4.5.1"],"fixed":[],"advisory":"GHSA-29mw-wpgm-hmr9"},{"ecosystem":"npm","name":"lodash.trim","purl":"pkg:npm/lodash.trim","ranges":[">=4.0.0 <=4.5.1"],"fixed":[],"advisory":"GHSA-29mw-wpgm-hmr9"},{"ecosystem":"RubyGems","name":"lodash-rails","purl":"pkg:gem/lodash-rails","ranges":[">=4.0.0 <4.17.21"],"fixed":["4.17.21"],"advisory":"GHSA-29mw-wpgm-hmr9"}],"cwes":["CWE-1333","CWE-400"],"aliases":["GHSA-29mw-wpgm-hmr9"],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-LODASH-1018905","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074892","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074893","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074894","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBLODASH-1074895","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGFUJIONWEBJARS-1074896","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/lodash/lodash/blob/npm/trimEnd.js%23L8","tags":["x_refsource_MISC","x_transferred","Broken Link","web"]},{"url":"https://github.com/lodash/lodash/pull/5065","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","tags":["x_refsource_MISC","x_transferred","Not Applicable","Third Party Advisory","advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20210312-0006/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28500","tags":["advisory"]},{"url":"https://github.com/github/advisory-database/pull/6139","tags":["web"]},{"url":"https://github.com/lodash/lodash/pull/5065/commits/02906b8191d3c100c193fe6f7b27d1c40f200bb7","tags":["web"]},{"url":"https://github.com/lodash/lodash/commit/c4847ebe7d14540bb28a8b932a9ce1b9ecbfee1a","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20210312-0006","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2020-28500.yml","tags":["web"]},{"url":"https://github.com/lodash/lodash","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.07424,"epssPercentile":0.94568,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-28500","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28500","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-28500","ok":true,"note":"5 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-29mw-wpgm-hmr9","ok":true,"note":"GHSA-29mw-wpgm-hmr9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-28500","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["ruby"],"critical":[],"attention":null}