{"id":"CVE-2020-7753","published":"2020-10-27T08:15:15Z","modified":"2024-09-16T22:03:06Z","title":"Regular Expression Denial of Service (ReDoS)","vendor":null,"product":null,"tier":"tail","description":{"text":"All versions of package trim are vulnerable to Regular Expression Denial of Service (ReDoS) via trim().","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03777,"percentile":0.90206,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-TRIM-1017038","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1022132","tags":["x_refsource_MISC"]},{"url":"https://github.com/component/trim/blob/master/index.js%23L6","tags":["x_refsource_MISC"]},{"url":"https://lists.apache.org/thread.html/r75b8d0b88833d7d96afcdce3ead65e212572ead4e7a9f34d21040196%40%3Ccommits.airflow.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r10faad1ef9166d37a1a5c9142b1af7099b8ecdc5ad05c51b8ea993d9%40%3Ccommits.airflow.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r51ff3c2a4c7b8402f321eae7e624672cc2295c7bc8c12c8b871f6b0b%40%3Ccommits.airflow.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rb8462df3b6484e778905c09cd49a8912e1a302659860017ebe36da03%40%3Ccommits.airflow.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rcc7c2865a52b544a8e49386c6880e9b9ab29bfce1052b5569d09ee4a%40%3Ccommits.airflow.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":23.3,"factors":[{"name":"EPSS percentile","points":18.04},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"trim","versions":["< unspecified"]}],"affected":[{"ecosystem":"npm","package":"trim","vulnerableRanges":["<0.0.3"],"patched":["0.0.3"],"from":["GHSA-w5p7-h5w8-2hfq"],"provenance":"source"}],"summary":{"text":"The Regular Expression Denial of Service (ReDoS) flaw affects the trim package, specifically its trim() function, across all versions. An attacker with network access can send crafted input that triggers catastrophic backtracking in the regular expression, causing availability impact, with no authentication, no user interaction, and no special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:40:11Z"},"euvd":{"id":"EUVD-2021-1210","exploited":false,"provenance":"source"}}