CVE catalog

CVE-2021-33623

node-trim-newlines: CVE-2021-33623

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
2.93% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-trim-newlinessid3.0.0+~3.0.0-1fixed
Debiannode-trim-newlinesforky3.0.0+~3.0.0-1fixed
Debiannode-trim-newlinestrixie3.0.0+~3.0.0-1fixed
Debiannode-trim-newlinesbookworm3.0.0+~3.0.0-1fixed
Ubuntunode-trim-newlines18.041.0.0-1vulnerable
Ubuntunode-trim-newlines18.041.0.0-1ubuntu0.18.04.1fixed
Ubuntunode-trim-newlines20.041.0.0-1vulnerable
Ubuntunode-trim-newlines20.041.0.0-1ubuntu0.20.04.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-trim-newlinessourcesid3.0.0+~3.0.0-1not yet assignedNot reportedNot reported
Debiannode-trim-newlinessourceforky3.0.0+~3.0.0-1not yet assignedNot reportedNot reported
Debiannode-trim-newlinessourcetrixie3.0.0+~3.0.0-1not yet assignedNot reportedNot reported
Debiannode-trim-newlinessourcebookworm3.0.0+~3.0.0-1not yet assignedNot reportedNot reported
Ubuntunode-trim-newlinesdeb18.041.0.0-1ubuntu0.18.04.1Not reportedUSN-5999-1Not reported
Ubuntunode-trim-newlinesdeb20.041.0.0-1ubuntu0.20.04.1Not reportedUSN-5999-1Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 3.0.0+~3.0.0-1 · all · bookworm

      Fixed · Fixed: 3.0.0+~3.0.0-1

      dsa · node-trim-newlines · debian · bookworm; dsa · node-trim-newlines · debian · 12

    • 3.0.0+~3.0.0-1 · all · bookworm

      Fixed · Fixed: 3.0.0+~3.0.0-1

      dsa · node-trim-newlines · debian · bookworm; dsa · node-trim-newlines · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 3.0.0+~3.0.0-1 · all · trixie

      Fixed · Fixed: 3.0.0+~3.0.0-1

      dsa · node-trim-newlines · debian · 13

    • 3.0.0+~3.0.0-1 · all · trixie

      Fixed · Fixed: 3.0.0+~3.0.0-1

      dsa · node-trim-newlines · debian · 13

Observed:

References