GHSA-7p7h-4mm5-852v · Severity: high · Ecosystem: npm — Uncontrolled Resource Consumption in 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 denial-of-service (ReDoS) for the .end() method.
Conclusion & alert: CVE-2021-33623 is rated Moderate Risk (59.9/100): CVSS High severity, with medium exploitation likelihood (EPSS 2.90%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-28 | 2.85% | 2.90% | +0.06% |
| 2 | 2026-06-15 | 1.64% | 2.85% | +1.20% |
| 3 | 2026-05-16 | — | 1.64% | — |
Full EPSS history (26 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 5.0 | 2.0 | MEDIUM |
|
10.0 | 2.9 | [email protected] |
GHSA-7p7h-4mm5-852v · Severity: high · Ecosystem: npm — Uncontrolled Resource Consumption in trim-newlines
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2021-33623 not yet assigned priority: Debian including 1 source packages (node-trim-newlines), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2021-33623 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2021-33623 |
ubuntu
|
medium | CVE-2021-33623 medium priority: Ubuntu including 1 source packages (node-trim-newlines), 16 status rows across 16 suites (bionic, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 8, needs-triage 3, not-affected 2, released 2, DNE 1. | https://ubuntu.com/security/CVE-2021-33623 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| trim-newlines_project | trim-newlines | < 3.0.1 | cpe:2.3:a:trim-newlines_project:trim-newlines:*:*:*:*:*:node.js:*:* |
| trim-newlines_project | trim-newlines | >= 4.0.0, < 4.0.1 | cpe:2.3:a:trim-newlines_project:trim-newlines:*:*:*:*:*:node.js:*:* |
| netapp | e-series_performance_analyzer | — | cpe:2.3:a:netapp:e-series_performance_analyzer:-:*:*:*:*:*:*:* |
| debian | debian_linux | 10.0 | cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/sindresorhus/trim-newlines/releases/tag/v4.0.1 | Patch Release Notes |
| https://lists.debian.org/debian-lts-announce/2022/12/msg00033.html | Mailing List Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20210702-0007/ | Third Party Advisory |
| https://www.npmjs.com/package/trim-newlines | Product |