GHSA-582f-p4pg-xc74

Suggest an improvement
Source
https://github.com/advisories/GHSA-582f-p4pg-xc74
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/10/GHSA-582f-p4pg-xc74/GHSA-582f-p4pg-xc74.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-582f-p4pg-xc74
Aliases
Published
2019-10-15T20:06:16Z
Modified
2023-11-01T04:50:44.134257Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
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.

Database specific
{
    "github_reviewed": true,
    "nvd_published_at": "2019-10-14T20:15:00Z",
    "severity": "HIGH",
    "github_reviewed_at": "2019-10-15T15:55:00Z",
    "cwe_ids": [
        "CWE-20",
        "CWE-400"
    ]
}
References

Affected packages

npm / csv-parse

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.4.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/10/GHSA-582f-p4pg-xc74/GHSA-582f-p4pg-xc74.json"