{"cve":"CVE-2021-33623","nvd":{"published":"2021-05-28T18:15:07.537","modified":"2026-06-17T03:54:53.153","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-400"],"references":["https://github.com/sindresorhus/trim-newlines/releases/tag/v4.0.1","https://lists.debian.org/debian-lts-announce/2022/12/msg00033.html","https://security.netapp.com/advisory/ntap-20210702-0007/","https://www.npmjs.com/package/trim-newlines","https://github.com/sindresorhus/trim-newlines/releases/tag/v4.0.1"],"products":["debian:debian_linux","netapp:e-series_performance_analyzer","trim-newlines_project:trim-newlines"],"source":"nvd","synced_at":"2026-10-19T21:18:09.669877188+00:00"},"epss":{"cve":"CVE-2021-33623","score":0.02925,"percentile":0.8706,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7p7h-4mm5-852v","url":"https://osv.dev/vulnerability/GHSA-7p7h-4mm5-852v","summary":"Uncontrolled Resource Consumption in trim-newlines","modified":"2026-09-10T03:49:05.648239072Z","packages":[{"ecosystem":"npm","name":"trim-newlines","purl":"pkg:npm/trim-newlines","ranges":["<3.0.1"],"fixed":["3.0.1"]},{"ecosystem":"npm","name":"trim-newlines","purl":"pkg:npm/trim-newlines","ranges":[">=4.0.0 <4.0.1"],"fixed":["4.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}