CVE-2020-7753 json
Regular Expression Denial of Service (ReDoS)
published 2020-10-27 6 y ago modified 2026-06-17 4 mo ago also GHSA-w5p7-h5w8-2hfq , EUVD-2021-1210
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.8%
- EPSS 3.8% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
All versions of package trim are vulnerable to Regular Expression Denial of Service (ReDoS) via trim().
Patch / fix
- npm trim 0.0.3
- grafana SLE Module for Package Hub 15 SP5, openSUSE Leap 15.5 9.5.8-150200.3.53.2
- grafana Manager Client Tools 15 9.5.8-150000.1.60.2
- spacecmd openSUSE Leap 15.5, Manager Client Tools 15 4.3.26-150000.3.113.1
- mgr-daemon Manager Client Tools 15 4.3.8-150000.1.44.1
- spacewalk-client-tools Manager Client Tools 15 4.3.18-150000.3.86.2
- prometheus-postgres_exporter openSUSE Leap 15.5, Manager Client Tools 15 0.10.1-150000.1.17.1
- uyuni-proxy-systemd-services Manager Client Tools for SLE Micro 5, Manager Client Tools 15 4.3.10-150000.1.15.1
- golang-github-prometheus-prometheus Manager Client Tools 15 2.45.0-150000.3.53.1
suse advisories SUSE-RU-2024:0511-1SUSE-SU-2024:0487-1SUSE-SU-2024:0486-1SUSE-SU-2024:0196-1SUSE-SU-2024:0191-1SUSE-SU-2023:2579-1
- grafana openSUSE Tumbleweed 9.3.6-1.1
opensuse advisories openSUSE-SU-2024:12723-1
- github.com/component/trim#8 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-7753 updated cvss 7.5
nodejs-trim: Regular Expression Denial of Service (ReDoS) in trim function
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/kibana6-rhel8affected: no fix available
-
Red Hat Cluster Observability Operator 1.5.0 cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9 1782840519fixed: vendor fix RHSA-2026:34342
-
Red Hat Cluster Observability Operator 1.5.0 cluster-observability-operator/perses-rhel9 1782839109, cluster-observability-operator/thanos-rhel9 1782840280, cluster-observability-operator/korrel8r-rhel9 1782839157, cluster-observability-operator/prometheus-rhel9 1782840780, cluster-observability-operator/alertmanager-rhel9 1782840761, cluster-observability-operator/perses-rhel9-operator 1782839191, +18 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.78% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | trim | <0.0.3 |
0.0.3 |
Affected products
- n/a trim
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
github.com
/component/trim/pull/8
web
-
snyk.io
/vuln/SNYK-JS-TRIM-1017038
web, exploit, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-1022132
web, exploit, third-party-advisory
-
github.com
/component/trim/blob/master/index.js%23L6
web, broken-link, third-party-advisory
-
lists.apache.org
/thread.html/r75b8d0b88833d7d96afcdce3ead65e212572ead4e7a9f34d21040196%40%3Ccommits.airflow.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r10faad1ef9166d37a1a5c9142b1af7099b8ecdc5ad05c51b8ea993d9%40%3Ccommits.airflow.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r51ff3c2a4c7b8402f321eae7e624672cc2295c7bc8c12c8b871f6b0b%40%3Ccommits.airflow.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rb8462df3b6484e778905c09cd49a8912e1a302659860017ebe36da03%40%3Ccommits.airflow.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rcc7c2865a52b544a8e49386c6880e9b9ab29bfce1052b5569d09ee4a%40%3Ccommits.airflow.apache.org%3E
mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2020-7753
advisory
-
github.com
/component/trim
web
-
github.com
/component/trim/blob/master/index.js
web
-
lists.apache.org
/thread.html/r10faad1ef9166d37a1a5c9142b1af7099b8ecdc5ad05c51b8ea993d9@%3Ccommits.airflow.apache.org%3E
web
-
lists.apache.org
/thread.html/r51ff3c2a4c7b8402f321eae7e624672cc2295c7bc8c12c8b871f6b0b@%3Ccommits.airflow.apache.org%3E
web
-
lists.apache.org
/thread.html/r75b8d0b88833d7d96afcdce3ead65e212572ead4e7a9f34d21040196@%3Ccommits.airflow.apache.org%3E
web
-
lists.apache.org
/thread.html/rb8462df3b6484e778905c09cd49a8912e1a302659860017ebe36da03@%3Ccommits.airflow.apache.org%3E
web
-
lists.apache.org
/thread.html/rcc7c2865a52b544a8e49386c6880e9b9ab29bfce1052b5569d09ee4a@%3Ccommits.airflow.apache.org%3E
web
Sources
- CVE List CVE-2020-7753
- GitHub Advisory GHSA-w5p7-h5w8-2hfq
- NVD CVE-2020-7753
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.