GHSA-qvjc-g5vr-mfgr

Suggest an improvement
Source
https://github.com/advisories/GHSA-qvjc-g5vr-mfgr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-qvjc-g5vr-mfgr/GHSA-qvjc-g5vr-mfgr.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-qvjc-g5vr-mfgr
Aliases
Published
2020-09-04T18:03:04Z
Modified
2025-06-16T15:12:18.094189Z
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 papaparse
Details

Versions of papaparse prior to 5.2.0 are vulnerable to Regular Expression Denial of Service (ReDos). The parse function contains a malformed regular expression that takes exponentially longer to process non-numerical inputs. This allows attackers to stall systems and lead to Denial of Service.

Recommendation

Upgrade to version 5.2.0 or later.

Database specific
{
    "github_reviewed": true,
    "nvd_published_at": null,
    "severity": "HIGH",
    "cwe_ids": [
        "CWE-185"
    ],
    "github_reviewed_at": "2020-08-31T19:02:01Z"
}
References

Affected packages

npm / papaparse

Package

Affected ranges

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