Vulnerabilities/

Uncontrolled Resource Consumption in trim-newlines

Severity:
High

Description

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

Recommendation

Update the trim-newlines package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
trim-newlines
Anything's wrong? Let us know Last updated on November 29, 2023