GHSA-7p7h-4mm5-852v

Uncontrolled Resource Consumption in trim-newlines

En bref

Publiée
Mise à jour
CVE
CVE-2021-33623
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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.

Paquets affectés

PaquetVersions
npm · trim-newlinesintroduced 0, fixed 3.0.1
npm · trim-newlinesintroduced 4.0.0, fixed 4.0.1

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database