{"id":"CVE-2020-26256","state":"PUBLISHED","title":"Denial of service in fast-csv","description":"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.","publishedAt":"2020-12-08T21:45:19.000Z","updatedAt":"2024-08-04T15:56:03.099Z","severity":{"score":5.7,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["C2FO fast-csv"],"affected":[{"vendor":"C2FO","product":"fast-csv","versions":[{"version":"< 4.3.6","status":"affected"}]}],"references":["https://github.com/C2FO/fast-csv/security/advisories/GHSA-8cv5-p934-3hwp","https://lgtm.com/query/8609731774537641779/","https://github.com/C2FO/fast-csv/issues/540","https://github.com/C2FO/fast-csv/commit/4bbd39f26a8cd7382151ab4f5fb102234b2f829e","https://www.npmjs.com/package/%40fast-csv/parse","https://www.npmjs.com/package/fast-csv"],"weaknesses":["CWE-400"],"ingestedAt":"2026-10-29T19:47:08.370Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/26xxx/CVE-2020-26256.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-26256","state":"PUBLISHED","datePublished":"2020-12-08T21:45:19.000Z","dateUpdated":"2024-08-04T15:56:03.099Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2020-10-01T00:00:00.000Z"},"containers":{"cna":{"title":"Denial of service in fast-csv","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"C2FO","product":"fast-csv","versions":[{"version":"< 4.3.6","status":"affected"}]}],"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"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.7,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","description":"CWE-400 Uncontrolled Resource Consumption","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2020-12-08T21:45:19.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-8cv5-p934-3hwp","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-26256","STATE":"PUBLIC","TITLE":"Denial of service in fast-csv"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"fast-csv","version":{"version_data":[{"version_value":"< 4.3.6"}]}}]},"vendor_name":"C2FO"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.7,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-400 Uncontrolled Resource Consumption"}]}]},"references":{"reference_data":[{"name":"https://github.com/C2FO/fast-csv/security/advisories/GHSA-8cv5-p934-3hwp","refsource":"CONFIRM","url":"https://github.com/C2FO/fast-csv/security/advisories/GHSA-8cv5-p934-3hwp"},{"name":"https://lgtm.com/query/8609731774537641779/","refsource":"MISC","url":"https://lgtm.com/query/8609731774537641779/"},{"name":"https://github.com/C2FO/fast-csv/issues/540","refsource":"MISC","url":"https://github.com/C2FO/fast-csv/issues/540"},{"name":"https://github.com/C2FO/fast-csv/commit/4bbd39f26a8cd7382151ab4f5fb102234b2f829e","refsource":"MISC","url":"https://github.com/C2FO/fast-csv/commit/4bbd39f26a8cd7382151ab4f5fb102234b2f829e"},{"name":"https://www.npmjs.com/package/@fast-csv/parse","refsource":"MISC","url":"https://www.npmjs.com/package/@fast-csv/parse"},{"name":"https://www.npmjs.com/package/fast-csv","refsource":"MISC","url":"https://www.npmjs.com/package/fast-csv"}]},"source":{"advisory":"GHSA-8cv5-p934-3hwp","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/C2FO/fast-csv/security/advisories/GHSA-8cv5-p934-3hwp","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://lgtm.com/query/8609731774537641779/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/C2FO/fast-csv/issues/540","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/C2FO/fast-csv/commit/4bbd39f26a8cd7382151ab4f5fb102234b2f829e","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.npmjs.com/package/%40fast-csv/parse","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.npmjs.com/package/fast-csv","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T15:56:03.099Z"}}]}}}