logo

CVE-2021-33623 trim-newlines

Package

Manager: npm
Name: trim-newlines
Vulnerable Version: >=0 <3.0.1 || =4.0.0 || >=4.0.0 <4.0.1

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.01255 pctl0.78586

Details

Uncontrolled Resource Consumption in trim-newlines @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.

Metadata

Created: 2021-06-07T22:10:39Z
Modified: 2023-09-08T19:23:55Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-7p7h-4mm5-852v/GHSA-7p7h-4mm5-852v.json
CWE IDs: ["CWE-400"]
Alternative ID: GHSA-7p7h-4mm5-852v
Finding: F067
Auto approve: 1