Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

WS-2017-3757 (Medium) detected in content-type-parser-1.0.2.tgz - autoclosed #45

Closed
mend-bolt-for-github bot opened this issue Jan 14, 2021 · 2 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Jan 14, 2021

WS-2017-3757 - Medium Severity Vulnerability

Vulnerable Library - content-type-parser-1.0.2.tgz

Parse the value of the Content-Type header

Library home page: https://registry.npmjs.org/content-type-parser/-/content-type-parser-1.0.2.tgz

Path to dependency file: react-playground/package.json

Path to vulnerable library: react-playground/node_modules/content-type-parser/package.json

Dependency Hierarchy:

  • react-scripts-0.9.5.tgz (Root Library)
    • jest-18.1.0.tgz
      • jest-cli-18.1.0.tgz
        • jest-environment-jsdom-18.1.0.tgz
          • jsdom-9.12.0.tgz
            • content-type-parser-1.0.2.tgz (Vulnerable Library)

Found in HEAD commit: 1e308b7392b9b3b708488b10efeda90527d0aa12

Found in base branch: master

Vulnerability Details

all versions prior to 2.0.0 of content-type-parser npm package are vulnerable to ReDoS via the user agent parser. the vulnerability was fixed by reintroducing a new parser and deleting the old one.

Publish Date: 2017-12-10

URL: WS-2017-3757

CVSS 3 Score Details (5.3)

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: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: jsdom/whatwg-mimetype#3

Release Date: 2020-04-30

Fix Resolution: v2.0.0


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 Jan 14, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title WS-2017-3757 (Medium) detected in content-type-parser-1.0.1.tgz WS-2017-3757 (Medium) detected in content-type-parser-1.0.2.tgz Jan 15, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title WS-2017-3757 (Medium) detected in content-type-parser-1.0.2.tgz WS-2017-3757 (Medium) detected in content-type-parser-1.0.2.tgz - autoclosed Jan 20, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title WS-2017-3757 (Medium) detected in content-type-parser-1.0.2.tgz WS-2017-3757 (Medium) detected in content-type-parser-1.0.2.tgz - autoclosed Jan 20, 2021
@mend-bolt-for-github
Copy link
Contributor Author

✔️ This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.

1 similar comment
@mend-bolt-for-github
Copy link
Contributor Author

✔️ This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants