Resource exhaustion in C2fo Fast-Csv

CVE-2020-26256

Fast-csv is an npm package for parsing and formatting CSVs or any other delimited value file in node. In fast-cvs before version 4.3.6 there is a possible ReDoS vulnerability (Regular Expression Denial of Service) when using ignoreEmpty option when parsing. This has been patched in `v4.3.6` 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` This vulnerability was found using a CodeQL query which identified `EMPTY_ROW_REGEXP` regular expression as vulnerable.

Vulnerability class: DoS (Denial of Service)

EPSS: 0.015 (72.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.7 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2020-26256?
CVE-2020-26256 is a medium-severity vulnerability in C2fo Fast-Csv, classified under Uncontrolled Resource Consumption. CVSS score: 5.7/10. Published 2020-12-08.
How severe is CVE-2020-26256?
Medium severity. CVSS v3 base score is 5.7 out of 10.
Is CVE-2020-26256 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.