Regular Expression Denial of Service in csv-parse
High severity
GitHub Reviewed
Published
Oct 15, 2019
to the GitHub Advisory Database
•
Updated Feb 1, 2023
Description
Published by the National Vulnerability Database
Oct 14, 2019
Reviewed
Oct 15, 2019
Published to the GitHub Advisory Database
Oct 15, 2019
Last updated
Feb 1, 2023
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 thecast
option.Recommendation
Upgrade to version 4.4.6 or later.
References