Security mailing lists by PureSourceCode

CVE-2021-33623

HIGH 7.5CVSS 3.1

Uncontrolled Resource Consumption in trim-newlines

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.

Published
28 May 2021
Last modified
10 Sep 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-400
Also known as
GHSA-7p7h-4mm5-852v
Sources
NVDJSONOSV GHSA-7p7h-4mm5-852vJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD trim-newlines_project trim-newlines
cpe:2.3:a:trim-newlines_project:trim-newlines:*:*:*:*:*:node.js:*:*
< 3.0.1 3.0.1
NVD trim-newlines_project trim-newlines
cpe:2.3:a:trim-newlines_project:trim-newlines:*:*:*:*:*:node.js:*:*
>= 4.0.0, < 4.0.1 4.0.1
NVD netapp e-series_performance_analyzer
cpe:2.3:a:netapp:e-series_performance_analyzer:-:*:*:*:*:*:*:*
(no version)
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
OSV npm trim-newlines < 3.0.1 3.0.1
OSV npm trim-newlines >= 4.0.0, < 4.0.1 4.0.1

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 28 May 2021)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 7 Jun 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.