CVE-2019-17592: Regular Expression Denial of Service in csv-parse
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.67831%
CWE
Published
10/15/2019
Updated
2/1/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
csv-parse | npm | < 4.4.6 | 4.4.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability was explicitly tied to the isInt
function in multiple sources, including NVD descriptions and the GitHub commit that removed it. The commit diff shows removal of the vulnerable regex pattern /^(-|+)?([1-9]+[0-9]*)$/ which contains a dangerous 'repetition of repetition' structure. The added test case with 3 million '1' characters confirms the attack vector. Both file locations (ES5 and modern JS
implementations) contained identical vulnerable logic before patching.