org.webjars.npm:papaparse@5.5.3

  • latest version

    5.5.3

  • first published

    11 years ago

  • latest version published

    1 years ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm:papaparse package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Inefficient Algorithmic Complexity

    org.webjars.npm:papaparse is a fast in-browser CSV (or delimited text) parser for JavaScript.

    Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via Papa.parse() when processing delimiter-free quoted CSV input. An attacker can supply a single-column quoted CSV with no delimiters, triggering repeated full-buffer indexOf scans for the delimiter and newline on every row. Because these scans restart from the beginning of the remaining buffer rather than advancing past already-examined positions, the work grows quadratically with input size, exhausting CPU and blocking the Node.js event loop or freezing a browser tab.

    How to fix Inefficient Algorithmic Complexity?

    Upgrade org.webjars.npm:papaparse to version 5.7.1 or higher.

    [,5.7.1)