Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WS-2020-0097 (High) detected in papaparse-4.6.2.tgz, papaparse-4.6.2.js #62

Open
mend-for-github-com bot opened this issue May 28, 2020 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented May 28, 2020

WS-2020-0097 - High Severity Vulnerability

Vulnerable Libraries - papaparse-4.6.2.tgz, papaparse-4.6.2.js

papaparse-4.6.2.tgz

Fast and powerful CSV parser for the browser that supports web workers and streaming large files. Converts CSV to JSON and JSON to CSV.

Library home page: https://registry.npmjs.org/papaparse/-/papaparse-4.6.2.tgz

Path to dependency file: arcgis-rest-js/demos/batch-geocoder-node/package.json

Path to vulnerable library: arcgis-rest-js/demos/batch-geocoder-node/node_modules/papaparse/package.json

Dependency Hierarchy:

  • papaparse-4.6.2.tgz (Vulnerable Library)
papaparse-4.6.2.js

Fast and powerful CSV parser for the browser that supports web workers and streaming large files. Converts CSV to JSON and JSON to CSV.

Library home page: https://cdnjs.cloudflare.com/ajax/libs/PapaParse/4.6.2/papaparse.js

Path to dependency file: arcgis-rest-js/demos/batch-geocoder-node/node_modules/papaparse/player/player.html

Path to vulnerable library: arcgis-rest-js/demos/batch-geocoder-node/node_modules/papaparse/player/../papaparse.js

Dependency Hierarchy:

  • papaparse-4.6.2.js (Vulnerable Library)

Vulnerability Details

papaparse before 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.

Publish Date: 2020-05-19

URL: WS-2020-0097

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.npmjs.com/advisories/1515

Release Date: 2020-05-26

Fix Resolution: papaparse - 5.2.0

@mend-for-github-com mend-for-github-com bot added the security vulnerability Security vulnerability detected by WhiteSource label May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants