poojasoude / SmartHotel

MIT License
1 stars 0 forks source link

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

Open mend-bolt-for-github[bot] opened 7 months ago

mend-bolt-for-github[bot] commented 7 months ago

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: /SmartHotel360.Website/ClientApp/package.json

Path to vulnerable library: /SmartHotel360.Website/ClientApp/node_modules/content-type-parser/package.json

Dependency Hierarchy: - react-scripts-1.1.5.tgz (Root Library) - jest-20.0.4.tgz - jest-cli-20.0.4.tgz - jest-environment-jsdom-20.0.3.tgz - jsdom-9.12.0.tgz - :x: **content-type-parser-1.0.2.tgz** (Vulnerable Library)

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

Release Date: 2017-12-10

Fix Resolution: v2.0.0


Step up your Open Source Security Game with Mend here