kimxogus / react-native-version-check

A version checker for react-native applications
MIT License
722 stars 179 forks source link

CVE-2017-16137 (Medium) detected in debug-2.2.0.tgz #80

Closed mend-bolt-for-github[bot] closed 5 years ago

mend-bolt-for-github[bot] commented 5 years ago

CVE-2017-16137 - Medium Severity Vulnerability

Vulnerable Library - debug-2.2.0.tgz

small debugging utility

Library home page: https://registry.npmjs.org/debug/-/debug-2.2.0.tgz

Path to dependency file: /react-native-version-check/packages/react-native-version-check-expo/package.json

Path to vulnerable library: /tmp/git/react-native-version-check/packages/react-native-version-check-expo/node_modules/send/node_modules/debug/package.json,/tmp/git/react-native-version-check/packages/react-native-version-check-expo/node_modules/send/node_modules/debug/package.json

Dependency Hierarchy: - react-native-0.48.4.tgz (Root Library) - connect-2.30.2.tgz - body-parser-1.13.3.tgz - :x: **debug-2.2.0.tgz** (Vulnerable Library)

Found in HEAD commit: d52a5161ca4eeb5387c6b83aba1683450896bcd8

Vulnerability Details

The debug module is vulnerable to regular expression denial of service when untrusted user input is passed into the o formatter. It takes around 50k characters to block for 2 seconds making this a low severity issue.

Publish Date: 2018-06-07

URL: CVE-2017-16137

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: Change files

Origin: https://github.com/visionmedia/debug/commit/42a6ae0737f9243c80b6d3dbb08a69a7ae2a1061

Release Date: 2017-09-21

Fix Resolution: Replace or update the following file: node.js


Step up your Open Source Security Game with WhiteSource here