GitHub Advisoryadvisory · npm
GHSA-582f-p4pg-xc74 Regular Expression Denial of Service in csv-parse
HIGH
Official page ↗
- Aliases
- CVE-2019-17592
- Ecosystem
- npm
- Packages
- csv-parse
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-20, CWE-400
- Reviewed
- 2019-10-15
Affected packages
• npm csv-parse: < 4.4.6 → fixed in 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.
Related
Alias · CVE (1)
- CVE-2019-17592 The csv-parse module before 4.4.6 for Node.js is vulnerable to Regular Expression Denial of Service. vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-17592 advisory
- https://github.com/adaltas/node-csv-parse/commit/b9d35940c6815cdf1dfd6b21857a1f6d0fd51e4a web
- https://github.com/adaltas/node-csv-parse package
- https://lists.fedoraproject.org/archives/list/[email protected]/message/Z36UKPO5F3PQ3Q2POMF5LEKXWAH5RUFP web
- https://security.netapp.com/advisory/ntap-20191127-0002 web
- https://www.npmjs.com/advisories/1171 web