jtimberlake / react-server

:rocket: Blazing fast page load and seamless navigation.
https://react-server.io/
Apache License 2.0
0 stars 0 forks source link

CVE-2017-20165 (High) detected in debug-2.2.0.tgz, debug-2.6.8.tgz #281

Open mend-for-github-com[bot] opened 1 year ago

mend-for-github-com[bot] commented 1 year ago

CVE-2017-20165 - High Severity Vulnerability

Vulnerable Libraries - debug-2.2.0.tgz, debug-2.6.8.tgz

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: /packages/react-server-examples/bike-share/package.json

Path to vulnerable library: /packages/react-server-examples/bike-share/node_modules/compression/node_modules/debug/package.json,/packages/react-server-examples/hello-world/node_modules/compression/node_modules/debug/package.json,/packages/react-server-examples/code-splitting/node_modules/compression/node_modules/debug/package.json,/packages/react-server-examples/redux-basic/node_modules/compression/node_modules/debug/package.json,/packages/react-server-examples/meteor-site/node_modules/compression/node_modules/debug/package.json

Dependency Hierarchy: - react-server-cli-0.6.4.tgz (Root Library) - compression-1.6.2.tgz - :x: **debug-2.2.0.tgz** (Vulnerable Library)

debug-2.6.8.tgz

small debugging utility

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

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/mocha/node_modules/debug/package.json

Dependency Hierarchy: - mocha-3.5.3.tgz (Root Library) - :x: **debug-2.6.8.tgz** (Vulnerable Library)

Found in HEAD commit: fc4f63cd9d7cfd34b5d6322a49f9b670bd83cb27

Found in base branch: master

Vulnerability Details

A vulnerability classified as problematic has been found in debug-js debug up to 3.0.x. This affects the function useColors of the file src/node.js. The manipulation of the argument str leads to inefficient regular expression complexity. Upgrading to version 3.1.0 is able to address this issue. The identifier of the patch is c38a0166c266a679c8de012d4eaccec3f944e685. It is recommended to upgrade the affected component. The identifier VDB-217665 was assigned to this vulnerability.

Publish Date: 2023-01-09

URL: CVE-2017-20165

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://github.com/advisories/GHSA-9vvw-cc9w-f27h

Release Date: 2023-01-09

Fix Resolution (debug): 2.6.9

Direct dependency fix Resolution (react-server-cli): 0.7.2

Fix Resolution (debug): 2.6.9

Direct dependency fix Resolution (mocha): 4.0.0


:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.