ADVISORIES

GitHub Advisory Database

GHSA-582f-p4pg-xc74

Regular Expression Denial of Service in csv-parse

Details

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.

Recommendation

Upgrade to version 4.4.6 or later.

Affected packages

EcosystemPackageAffected versions
npmcsv-parse
All versions before 4.4.6 (fixed in 4.4.6)

References