CVE-2021-33623

Related Vulnerabilities: CVE-2021-33623  

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.

Description

The MITRE CVE dictionary describes this issue as:

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.

Additional Information

  • Bugzilla 1966615: CVE-2021-33623 nodejs-trim-newlines: ReDoS in .end() method
  • CWE-400: Uncontrolled Resource Consumption
  • FAQ: Frequently asked questions about CVE-2021-33623