HIGH 7.5
GHSA-7p7h-4mm5-852v
Uncontrolled Resource Consumption in trim-newlines
Details
@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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-33623 [ADVISORY]
- https://github.com/sindresorhus/trim-newlines/commit/25246c6ce5eea1c82d448998733a6302a4350d91 [WEB]
- https://github.com/sindresorhus/trim-newlines/commit/b10d5f4afef832b16bc56d49fc52c68cbd403869 [WEB]
- https://github.com/sindresorhus/trim-newlines [PACKAGE]
- https://github.com/sindresorhus/trim-newlines/releases/tag/v4.0.1 [WEB]
- https://lists.debian.org/debian-lts-announce/2022/12/msg00033.html [WEB]
- https://security.netapp.com/advisory/ntap-20210702-0007 [WEB]
- https://www.npmjs.com/package/trim-newlines [WEB]