CVE-2021-33623: High severity trim-newlines vulnerability

Published May 28, 2021
·
Updated

@rkesters/gnuplot is an easy to use node module to draw charts using gnuplot and ps2pdf. 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.

Other sources

A flaw was found in nodejs-trim-newlines. Node.js has an issue related to regular expression denial-of-service (ReDoS) for the .end() method.

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.

Affected Software

9 affected componentsFixes available
redhat/ovirt-web-ui<0:1.9.0-1.el8e
0:1.9.0-1.el8e
npm/trim-newlines=4.0.0
4.0.1
npm/trim-newlines<3.0.1
3.0.1
redhat/trim-newlines<3.0.1
3.0.1
redhat/trim-newlines<4.0.1
4.0.1
Trim-newlines Project Trim-newlines Node.js<3.0.1
Trim-newlines Project Trim-newlines Node.js>=4.0.0<4.0.1
NetApp E-series Performance Analyzer
Debian Debian Linux=10.0

Event History

May 28, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Jun 7, 2021
Advisory Published
10:10 PM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2021-33623.

2

What is the severity of CVE-2021-33623?

The severity of CVE-2021-33623 is high.

3

How does CVE-2021-33623 affect Node.js?

CVE-2021-33623 has an issue related to regular expression denial-of-service (ReDoS) for the `.end()` method in Node.js.

4

Which versions of trim-newlines are affected by CVE-2021-33623?

Version 4.0.0 and versions before 4.0.1 of trim-newlines for Node.js are affected by CVE-2021-33623.

5

How can I fix CVE-2021-33623?

To fix CVE-2021-33623, update trim-newlines to version 4.0.1 or newer.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203