Описание
Regular Expression Denial of Service in csv-parse
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.
Ссылки
- https://nvd.nist.gov/vuln/detail/CVE-2019-17592
- https://github.com/adaltas/node-csv-parse/commit/b9d35940c6815cdf1dfd6b21857a1f6d0fd51e4a
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z36UKPO5F3PQ3Q2POMF5LEKXWAH5RUFP
- https://security.netapp.com/advisory/ntap-20191127-0002
- https://www.npmjs.com/advisories/1171
Пакеты
Наименование
csv-parse
npm
Затронутые версииВерсия исправления
< 4.4.6
4.4.6
Связанные уязвимости
CVSS3: 7.5
nvd
больше 6 лет назад
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.