Description
The csv-parse module before 4.4.6 for Node.js is vulnerable to Regular Expression Denial of Service. The __isInt() function contains a malformed regular expression that processes large crafted input very slowly. This is triggered when using the cast option.
Remediation
References
https://github.com/adaltas/node-csv-parse/commit/b9d35940c6815cdf1dfd6b21857a1f6d0fd51e4a
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z36UKPO5F3PQ3Q2POMF5LEKXWAH5RUFP/
https://security.netapp.com/advisory/ntap-20191127-0002/
https://www.npmjs.com/advisories/1171
Related Vulnerabilities
CVE-2022-36890 Vulnerability in maven package org.jenkins-ci.plugins:deployer-framework
CVE-2014-0034 Vulnerability in maven package org.apache.cxf.services.sts:cxf-services-sts-core
CVE-2021-31403 Vulnerability in maven package com.vaadin:vaadin-server
CVE-2014-9970 Vulnerability in maven package org.jasypt:jasypt
CVE-2022-24697 Vulnerability in maven package org.apache.kylin:kylin-core-common