7.5high
Uncontrolled Resource Consumption in trim-newlines
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 2.93% (higher than 87% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-7p7h-4mm5-852v
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| trim-newlines (npm) | before 3.0.1, from 4.0.0 before 4.0.1 | GitHub Advisory Database |
| trim-newlines_project trim-newlines | before 3.0.1, from 4.0.0 before 4.0.1 | NVD |
| netapp e-series_performance_analyzer | Not specified | NVD |
| debian debian_linux | 10.0 | NVD |
All scores
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
@rkesters/gnuplot is an easy to use node module to draw charts using gnuplot and ps2pdf. 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.
NVD (es)
El paquete trim-newlines versiones anteriores a 3.0.1 y versiones 4.x anteriores a 4.0.1 para Node.js, presenta un problema relacionado con una denegación de servicio de expresión regular (ReDoS) para el método .end()
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-33623 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7p7h-4mm5-852v changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2021-33623 changed 2026-06-17 | Public domain |