GitHub Advisoryadvisory · npm

GHSA-w5p7-h5w8-2hfq Regular Expression Denial of Service in trim

HIGH Published 2021-05-10 Modified 2022-04-27 Official page ↗
Aliases
CVE-2020-7753
Ecosystem
npm
Packages
trim
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-400
Reviewed
2021-04-21

Affected packages

• npm trim: < 0.0.3 → fixed in 0.0.3

Description

All versions of package trim lower than 0.0.3 are vulnerable to Regular Expression Denial of Service (ReDoS) via trim().

Related

Alias · CVE (1)

  • CVE-2020-7753 All versions of package trim are vulnerable to Regular Expression Denial of Service (ReDoS) via trim(). vulnerability

Weakness · CWE (1)

  • CWE-400 Uncontrolled Resource Consumption weakness

References