CVE-2021-33623

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.

Severity
HIGH
CVSS v3
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · source nvd
Exploit chance (EPSS)
2.925%
chance of exploitation in the next 30 days
higher than 87.3% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2021-05-28Published by the CNA00:00 UTC
  2. 2021-06-07GitHub advisory published (GHSA-7p7h-4mm5-852v)10 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-7p7h-4mm5-852v, affected packages:

PackageVulnerable versionsFixed in
npm trim-newlinesbefore 3.0.13.0.1
npm trim-newlinesfrom 4.0.0 before 4.0.14.0.1

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
trim-newlines_project trim-newlinesbefore 3.0.1fixed in 3.0.1from 4.0.0 before 4.0.1fixed in 4.0.13.0.14.0.1
debian debian_linux10.0no fix listednot listed
netapp e-series_performance_analyzer

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources