Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. trim
  4. ›
  5. CVE-2020-7753

CVE-2020-7753: Uncontrolled Resource Consumption

October 27, 2020 (updated January 23, 2023)

Regular Expression Denial of Service (ReDoS) via trim().

References

  • github.com/Trott/trim/commit/52b0acc7587eed7380344fd767847dbd4854e4f2
  • nvd.nist.gov/vuln/detail/CVE-2020-7753

Code Behaviors & Features

Detect and mitigate CVE-2020-7753 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.0.2

Fixed versions

  • 0.0.2

Solution

Upgrade to version 0.0.2 or above

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Source file

npm/trim/CVE-2020-7753.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:45 +0000.