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

CVE-2019-16772 (Medium) detected in serialize-to-js-1.2.2.tgz #46

Open
mend-bolt-for-github bot opened this issue Apr 20, 2020 · 0 comments
Open
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

CVE-2019-16772 - Medium Severity Vulnerability

Vulnerable Library - serialize-to-js-1.2.2.tgz

serialize objects to javascript

Library home page: https://registry.npmjs.org/serialize-to-js/-/serialize-to-js-1.2.2.tgz

Path to dependency file: /tmp/ws-scm/infinite/package.json

Path to vulnerable library: /tmp/ws-scm/infinite/node_modules/serialize-to-js/package.json

Dependency Hierarchy:

  • parcel-bundler-1.11.0.tgz (Root Library)
    • serialize-to-js-1.2.2.tgz (Vulnerable Library)

Found in HEAD commit: f686a0f9119ce1b31715bd19e5a2f4705af80098

Vulnerability Details

The serialize-to-js NPM package before version 3.0.1 is vulnerable to Cross-site Scripting (XSS). It does not properly mitigate against unsafe characters in serialized regular expressions. This vulnerability is not affected on Node.js environment since Node.js's implementation of RegExp.prototype.toString() backslash-escapes all forward slashes in regular expressions. If serialized data of regular expression objects are used in an environment other than Node.js, it is affected by this vulnerability.

Publish Date: 2019-12-07

URL: CVE-2019-16772

CVSS 3 Score Details (6.1)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16772

Release Date: 2019-12-07

Fix Resolution: v3.0.1


Step up your Open Source Security Game with WhiteSource here

@mend-bolt-for-github mend-bolt-for-github bot added the security vulnerability Security vulnerability detected by WhiteSource label Apr 20, 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