{"id":"CVE-2020-7753","aliases":["CVE-2020-7753","GHSA-w5p7-h5w8-2hfq"],"related":[],"kind":"vulnerability","state":"published","title":"Regular Expression Denial of Service (ReDoS)","summary":"All versions of package trim are vulnerable to Regular Expression Denial of Service (ReDoS) via trim().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"All versions of package trim are vulnerable to Regular Expression Denial of Service (ReDoS) via trim().","source":"cvelist"},{"lang":"en","text":"All versions of package trim lower than 0.0.3 are vulnerable to Regular Expression Denial of Service (ReDoS) via trim().","format":"markdown","source":"ghsa"},{"lang":"es","text":"Todas las versiones del paquete trim son vulnerables a una Denegación de Servicio de Expresión Regular (ReDoS) por medio de la función trim()","source":"nvd"}],"published":"2020-10-27T08:15:15.542Z","modified":"2026-06-17T03:25:23.103Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"unspecified","status":"affected"}],"product":"trim","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.3"}],"ecosystem":"npm","package":"trim","purl":"pkg:npm/trim","source":"ghsa"},{"ranges":[],"vendor":"trim_project","product":"trim","cpe":"cpe:2.3:a:trim_project:trim:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-TRIM-1017038","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1022132","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/component/trim/blob/master/index.js%23L6","tags":["broken-link","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.apache.org/thread.html/r75b8d0b88833d7d96afcdce3ead65e212572ead4e7a9f34d21040196%40%3Ccommits.airflow.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/r10faad1ef9166d37a1a5c9142b1af7099b8ecdc5ad05c51b8ea993d9%40%3Ccommits.airflow.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/r51ff3c2a4c7b8402f321eae7e624672cc2295c7bc8c12c8b871f6b0b%40%3Ccommits.airflow.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/rb8462df3b6484e778905c09cd49a8912e1a302659860017ebe36da03%40%3Ccommits.airflow.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/rcc7c2865a52b544a8e49386c6880e9b9ab29bfce1052b5569d09ee4a%40%3Ccommits.airflow.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7753","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/component/trim/pull/8","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/component/trim","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/component/trim/blob/master/index.js","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r10faad1ef9166d37a1a5c9142b1af7099b8ecdc5ad05c51b8ea993d9@%3Ccommits.airflow.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r51ff3c2a4c7b8402f321eae7e624672cc2295c7bc8c12c8b871f6b0b@%3Ccommits.airflow.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r75b8d0b88833d7d96afcdce3ead65e212572ead4e7a9f34d21040196@%3Ccommits.airflow.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/rb8462df3b6484e778905c09cd49a8912e1a302659860017ebe36da03@%3Ccommits.airflow.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/rcc7c2865a52b544a8e49386c6880e9b9ab29bfce1052b5569d09ee4a@%3Ccommits.airflow.apache.org%3E","tags":["web"],"sources":["ghsa"]}],"credits":["Liyuan Chen"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-7753","url":"https://www.cve.org/CVERecord?id=CVE-2020-7753","licence":"CVE Terms of Use","modified":"2024-09-16T22:03:06.008Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w5p7-h5w8-2hfq","url":"https://github.com/advisories/GHSA-w5p7-h5w8-2hfq","licence":"CC-BY-4.0","modified":"2023-11-08T04:04:08.561Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-7753","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7753","licence":"Public domain","modified":"2026-06-17T03:25:23.103Z"}],"updatedAt":"2026-11-25T22:57:55.469Z","epss":{"score":0.03777,"percentile":0.90221,"date":"2026-12-01T12:00:22.000Z"}}