Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTdwN2gtNG1tNS04NTJ2

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.

Permalink: https://github.com/advisories/GHSA-7p7h-4mm5-852v
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTdwN2gtNG1tNS04NTJ2
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: almost 3 years ago
Updated: 6 months ago


CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Identifiers: GHSA-7p7h-4mm5-852v, CVE-2021-33623
References: Repository: https://github.com/sindresorhus/trim-newlines
Blast Radius: 46.0

Affected Packages

npm:trim-newlines
Dependent packages: 732
Dependent repositories: 1,349,635
Downloads: 59,251,884 last month
Affected Version Ranges: = 4.0.0, < 3.0.1
Fixed in: 4.0.1, 3.0.1
All affected versions: 1.0.0, 2.0.0, 3.0.0, 4.0.0
All unaffected versions: 3.0.1, 4.0.1, 4.0.2, 4.1.0, 4.1.1, 5.0.0