{"id":"CVE-2020-26256","published":"2020-12-08T21:45:19Z","modified":"2024-08-04T15:56:03Z","title":"Denial of service in fast-csv","vendor":"C2FO","product":"fast-csv","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01602,"percentile":0.7645,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/C2FO/fast-csv/security/advisories/GHSA-8cv5-p934-3hwp","tags":["x_refsource_CONFIRM"]},{"url":"https://lgtm.com/query/8609731774537641779/","tags":["x_refsource_MISC"]},{"url":"https://github.com/C2FO/fast-csv/issues/540","tags":["x_refsource_MISC"]},{"url":"https://github.com/C2FO/fast-csv/commit/4bbd39f26a8cd7382151ab4f5fb102234b2f829e","tags":["x_refsource_MISC"]},{"url":"https://www.npmjs.com/package/%40fast-csv/parse","tags":["x_refsource_MISC"]},{"url":"https://www.npmjs.com/package/fast-csv","tags":["x_refsource_MISC"]}],"priority":{"score":19.3,"factors":[{"name":"EPSS percentile","points":15.29},{"name":"CVSS severity","points":3.99}]},"vendorSlug":"c2fo","affectedVersions":[{"vendor":"C2FO","product":"fast-csv","versions":["< 4.3.6"]}],"affected":[{"ecosystem":"npm","package":"fast-csv","vulnerableRanges":["<4.3.6"],"patched":["4.3.6"],"from":["GHSA-8cv5-p934-3hwp"],"provenance":"source"},{"ecosystem":"npm","package":"@fast-csv/parse","vulnerableRanges":["<4.3.6"],"patched":["4.3.6"],"from":["GHSA-8cv5-p934-3hwp"],"provenance":"source"}],"summary":{"text":"The fast-csv npm package, which parses and formats CSV and other delimited files in Node.js, contains a regular expression denial-of-service (ReDoS) flaw in its EMPTY_ROW_REGEXP pattern, affecting versions before 4.3.6 when the ignoreEmpty parsing option is used. An attacker with low-privilege access who can get a user to interact with a crafted input can cause the parsing process to consume excessive resources and become unavailable, but only where the application uses ignoreEmpty.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:24Z"},"euvd":{"id":"EUVD-2020-1489","exploited":false,"provenance":"source"}}