Severity: high

Regular Expression Denial of Service

csv-parse

Overview

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.

Remediation

Upgrade to version 4.4.6 or later.

Have content suggestions? Send them to [email protected]

Advisory timeline

  1. published

    Advisory Published
    Sep 19th, 2019
  2. reported

    Reported by posix
    Sep 17th, 2019