CVE-2020-26256 Denial of service in fast-csv
MediumCVSS 6.5
EPSS 1.5%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| c2fo fast-csv | < 4.3.6; = < 4.3.6 | 4.3.6 | Fixed |
| fast-csv @fast-csv/parse(npm) | < 4.3.6 | 4.3.6 | Fixed |
| npm fast-csv(npm) | < 4.3.6 | 4.3.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm fast-csv(npm) | < 4.3.6 | 4.3.6 |
| fast-csv @fast-csv/parse(npm) | < 4.3.6 | 4.3.6 |
| c2fo fast-csv | < 4.3.6 | 4.3.6 |
| c2fo fast-csv | = < 4.3.6 | No fix listed |
References
- github.com third-party-advisory vendor-advisory
- github.com third-party-advisory
- github.com patch third-party-advisory
- lgtm.com exploit third-party-advisory
- www.npmjs.com
- www.npmjs.com product third-party-advisory
- www.npmjs.com
- www.npmjs.com
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- www.npmjs.com
- github.com product