Versions of csv-parse prior to 4.4.6 are vulnerable to Regular Expression Denial of Service. 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.
Upgrade to version 4.4.6 or later.
{
"github_reviewed": true,
"nvd_published_at": "2019-10-14T20:15:00Z",
"severity": "HIGH",
"github_reviewed_at": "2019-10-15T15:55:00Z",
"cwe_ids": [
"CWE-20",
"CWE-400"
]
}