csv-parse@1.1.5 vulnerabilities

CSV parsing implementing the Node.js `stream.Transform` API

Direct Vulnerabilities

Known vulnerabilities in the csv-parse package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Regular Expression Denial of Service (ReDoS)

csv-parse is a parser converting CSV text input into arrays or objects.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS). The __isInt() function contains a malformed regular expression that processes large specially-crafted input very slowly, leading to a Denial of Service. This is triggered when using the cast option.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade csv-parse to version 4.4.6 or higher.

<4.4.6