~ / search / GHSA-7p7h-4mm5-852v

GHSA-7p7h-4mm5-852v

Uncontrolled Resource Consumption in trim-newlines

Source: GitHub Advisory Database (reviewed) High CVE-2021-33623

Packages

EcosystemPackageAffectedFixed in
npm trim-newlines < 3.0.1 3.0.1
npm trim-newlines >= 4.0.0, < 4.0.1 4.0.1

Details

As written in the advisory (Markdown source, shown as plain text).

@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.

References

External links from the advisory. They lead to third-party sites.