logo

CVE-2020-26256 @fast-csv/parse

Package

Manager: npm
Name: @fast-csv/parse
Vulnerable Version: >=0 <4.3.6

Severity

Level: Low

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.01073 pctl0.76937

Details

Denial of service in fast-csv ### Impact Possible ReDoS (Regular Expression Denial of Service) when using `ignoreEmpty` option when parsing. ### Patches This has been patched in `v4.3.6` ### Workarounds 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` ### References This vulnerability was found using a [CodeQL](https://securitylab.github.com/tools/codeql) query which identified `EMPTY_ROW_REGEXP` regular expression as vulnerable. [Link to query run](https://lgtm.com/query/8609731774537641779/). ### For more information If you have any questions or comments about this advisory: * Open an issue in [fast-csv](https://github.com/C2FO/fast-csv)

Metadata

Created: 2020-12-08T21:42:53Z
Modified: 2021-10-08T20:36:36Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/12/GHSA-8cv5-p934-3hwp/GHSA-8cv5-p934-3hwp.json
CWE IDs: ["CWE-400"]
Alternative ID: GHSA-8cv5-p934-3hwp
Finding: F002
Auto approve: 1