Severity: low

Regular Expression Denial of Service

@fast-csv/parse

Overview

fast-csv and @fast-csv/parse before version 4.3.6 has a possible ReDoS vulnerability (Regular Expression Denial of Service) when using ignoreEmpty option when parsing.

Impact

You will only be affected by this if you use the ignoreEmpty parsing option. If you do use this option it is recommended that you upgrade to the latest version v4.3.6

Patches

This has been patched in v4.3.6

This vulnerability was found using a CodeQL query which identified EMPTY_ROW_REGEXP regular expression as vulnerable.

Remediation

Upgrade to version 4.3.6 or later.

Have content suggestions? Send them to [email protected]

Advisory timeline

  1. published

    Advisory Published
    Dec 8th, 2020
  2. reported

    Reported by Anonymous
    Dec 8th, 2020