Advisory

GHSA-582f-p4pg-xc74

Also known as: CVE-2019-17592

Summary

Regular Expression Denial of Service in csv-parse

Details

Versions of csv-parse prior to 4.4.6 are vulnerable to Regular Expression Denial of Service. The __isInt() function contains a malformed regular expression that processes large specially-crafted input very slowly, leading to a Denial of Service. This is triggered when using the cast option.

Recommendation

Upgrade to version 4.4.6 or later.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2019-10-15 20:06 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

csv-parse

npm · All systems

Affected

  • introduced 0, fixed 4.4.6 (semver)

Fixed versions

4.4.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