Regular expression denial of service (ReDoS) in trim
Priority LOW 39CWE-400Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 1 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.
Summary
All versions of package trim are vulnerable to Regular Expression Denial of Service (ReDoS) via trim().
Why it matters now
EPSS 0.03777 90th percentileScored 2026-11-07
Fix Partial trim (npm): 0.0.3Red Hat: 1 advisoryRed Hat: 1 fixed, 1 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | trim | all versions | — | No fix listed | CNA |
| — | trim (npm) | before 0.0.3 | 0.0.3 | Patch available | GHSA-w5p7-h5w8-2hfq |
- trim Vendor— Affected all versions Fixed in — No fix listed CNA
- trim (npm) Vendor— Affected before 0.0.3 Fixed in 0.0.3 Patch available GHSA-w5p7-h5w8-2hfq
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:trim_project:trim:*:*:*:*:*:*:*:* | all versions | Vulnerable | Trim Project |
- cpe:2.3:a:trim_project:trim:*:*:*:*:*:*:*:* Versions all versions Vulnerable ·Trim Project
Remediation
- Fix · GHSA-w5p7-h5w8-2hfq trim (npm) Fixed in 0.0.3 Advisory →
Red Hat 1 advisory
- RHSA-2026:34342 Released 2026-07-01 · Red Hat rating CriticalCluster Observability Operator 1.5.0
- Cluster Observability Operator 1.5 registry.redhat.io/cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9, registry.redhat.io/cluster-observability-operator/distributed-tracing-console-plugin-pf5-rhel9, registry.redhat.io/cluster-observability-operator/distributed-tracing-console-plugin-pf6-rhel9 +9
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Logging Subsystem for Red Hat OpenShift | Affected | No fix yet |
| Cluster Observability Operator 1.5.0 | Fixed | RHSA-2026:34342 |
Not affected: 1 product
- Cluster Observability Operator 1.5.0
Timeline
- 2026-10-02 Threatist record created from CVE-2020-7753
- 2026-10-03 Alias added: GHSA-w5p7-h5w8-2hfq
- 2026-11-07 EPSS moved to the 90th–95th percentile
References
Advisory 2
Other 13
- [airflow-commits] 20210511 [GitHub] [airflow] kaxil opened a new pull request #15782: Bump ``trim`` to fix ``CVE-2020-7753``
- [airflow-commits] 20210511 [GitHub] [airflow] ryanahamilton commented on pull request #15782: Bump ``trim`` to fix ``CVE-2020-7753``
- [airflow-commits] 20210511 [GitHub] [airflow] kaxil closed pull request #15782: Bump ``trim`` to fix ``CVE-2020-7753``
- [airflow-commits] 20210511 [GitHub] [airflow] github-actions[bot] commented on pull request #15782: Bump ``trim`` to fix ``CVE-2020-7753``
- [airflow-commits] 20210511 [GitHub] [airflow] ryanahamilton closed pull request #15782: Bump ``trim`` to fix ``CVE-2020-7753``
- https://github.com/component/trim/pull/8
- https://github.com/component/trim
- https://github.com/component/trim/blob/master/index.js
- https://lists.apache.org/thread.html/r10faad1ef9166d37a1a5c9142b1af7099b8ecdc5ad05c51b8ea993d9@%3Ccommits.airflow.apache.org%3E
- https://lists.apache.org/thread.html/r51ff3c2a4c7b8402f321eae7e624672cc2295c7bc8c12c8b871f6b0b@%3Ccommits.airflow.apache.org%3E
- https://lists.apache.org/thread.html/r75b8d0b88833d7d96afcdce3ead65e212572ead4e7a9f34d21040196@%3Ccommits.airflow.apache.org%3E
- https://lists.apache.org/thread.html/rb8462df3b6484e778905c09cd49a8912e1a302659860017ebe36da03@%3Ccommits.airflow.apache.org%3E
- https://lists.apache.org/thread.html/rcc7c2865a52b544a8e49386c6880e9b9ab29bfce1052b5569d09ee4a@%3Ccommits.airflow.apache.org%3E
Sources
- CVE-2020-7753 · CVE Program
- CVE-2020-7753 · NVD
- FIRST EPSS
- GHSA-w5p7-h5w8-2hfq · GitHub Advisory Database · CC BY 4.0
- CVE-2020-7753 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences