CVE-2021-33623 Affecting node-trim-newlines package, versions <1.0.0-1ubuntu0.18.04.1


Severity

Recommended
medium

Based on Ubuntu security rating.

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-UBUNTU1804-NODETRIMNEWLINES-1297936
  • published5 Apr 2023
  • disclosed28 May 2021

Introduced: 28 May 2021

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

How to fix?

Upgrade Ubuntu:18.04 node-trim-newlines to version 1.0.0-1ubuntu0.18.04.1 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 Ubuntu. See How to fix? for Ubuntu:18.04 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