Skip to content

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

Package

npm csv-parse (npm)

Affected versions

< 4.4.6

Patched versions

4.4.6

Description

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.

References

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

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVE ID

CVE-2019-17592

GHSA ID

GHSA-582f-p4pg-xc74
Checking history
See something to contribute? Suggest improvements for this vulnerability.