# CVE-2021-33623: node-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 de...

CVE-2021-33623 is fixed in node-trim-newlines on 1 platform, first by node-trim-newlines 1.0.0-1ubuntu0.18.04.1, released May 28, 2021. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2021-33623
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0293
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 28, 2021

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | node-trim-newlines Ubuntu 18.04.6 LTS (bionic) | 1.0.0-1ubuntu0.18.04.1 | [node-trim-newlines 1.0.0-1ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-node-trim-newlines-1.0.0-1ubuntu0.18.04.1.md) | May 28, 2021 |
| Linux | node-trim-newlines Ubuntu 20.04 LTS (focal) | 1.0.0-1ubuntu0.20.04.1 | [node-trim-newlines 1.0.0-1ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-node-trim-newlines-1.0.0-1ubuntu0.20.04.1.md) | May 28, 2021 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
