Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. papaparse
  4. ›
  5. GMS-2020-421

GMS-2020-421: Regular Expression Denial of Service in papaparse

September 4, 2020 (updated October 4, 2021)

Versions of papaparse 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. Upgrade to or later.

References

  • github.com/advisories/GHSA-qvjc-g5vr-mfgr
  • github.com/mholt/PapaParse/issues/777
  • snyk.io/vuln/SNYK-JS-PAPAPARSE-564258
  • www.npmjs.com/advisories/1515

Code Behaviors & Features

Detect and mitigate GMS-2020-421 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.2.0

Fixed versions

  • 5.2.0

Solution

Upgrade to version 5.2.0 or above.

Source file

npm/papaparse/GMS-2020-421.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:42 +0000.