Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXF2amMtZzV2ci1tZmdy
Regular Expression Denial of Service in papaparse
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.
Permalink: https://github.com/advisories/GHSA-qvjc-g5vr-mfgrJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXF2amMtZzV2ci1tZmdy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 3 years ago
Updated: 7 months ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Identifiers: GHSA-qvjc-g5vr-mfgr
References:
- https://github.com/mholt/PapaParse/issues/777
- https://snyk.io/vuln/SNYK-JS-PAPAPARSE-564258
- https://www.npmjs.com/advisories/1515
- https://github.com/mholt/PapaParse/commit/235a12758cd77266d2e98fd715f53536b34ad621
- https://github.com/advisories/GHSA-qvjc-g5vr-mfgr
Blast Radius: 32.6
Affected Packages
npm:papaparse
Dependent packages: 1,526Dependent repositories: 22,514
Downloads: 9,253,933 last month
Affected Version Ranges: < 5.2.0
Fixed in: 5.2.0
All affected versions: 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5, 4.0.6, 4.0.7, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.2.0, 4.3.0, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.3.5, 4.3.6, 4.3.7, 4.4.0, 4.5.0, 4.5.1, 4.6.0, 4.6.1, 4.6.2, 4.6.3, 5.0.0, 5.0.1, 5.0.2, 5.1.0, 5.1.1
All unaffected versions: 5.2.0, 5.3.0, 5.3.1, 5.3.2, 5.4.0, 5.4.1