Advisory

GHSA-8cv5-p934-3hwp

Also known as: CVE-2020-26256

Summary

Denial of service in fast-csv

Details

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 query which identified EMPTY_ROW_REGEXP regular expression as vulnerable.
Link to query run.

For more information
If you have any questions or comments about this advisory:

Severity

Low Basis: The source's own band: LOW

Dates

Published
2020-12-08 21:42 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

fast-csv

npm · All systems

Affected

  • introduced 0, fixed 4.3.6 (semver)

Fixed versions

4.3.6

Fix

@fast-csv/parse

npm · All systems

Affected

  • introduced 0, fixed 4.3.6 (semver)

Fixed versions

4.3.6

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences