Resource Exhaustion Affecting node-trim-newlines package, versions <1.0.0-1+deb10u1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
2.93% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN10-NODETRIMNEWLINES-2395318
  • published5 Feb 2022
  • disclosed28 May 2021

Introduced: 28 May 2021

CVE-2021-33623  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Debian:10 node-trim-newlines to version 1.0.0-1+deb10u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-trim-newlines package and not the node-trim-newlines package as distributed by Debian. See How to fix? for Debian:10 relevant fixed versions and status.

The trim-newlines package before 3.0.1 and 4.x before 4.0.1 for Node.js has an issue related to regular expression denial-of-service (ReDoS) for the .end() method.

CVSS Base Scores

version 3.1