ChoeMinji / react-16.0.0

MIT License
0 stars 0 forks source link

CVE-2017-20165 (Low) detected in multiple libraries #227

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

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

CVE-2017-20165 - Low Severity Vulnerability

Vulnerable Libraries - debug-2.6.0.tgz, debug-2.6.3.tgz, debug-2.6.8.tgz, debug-2.6.6.tgz, debug-2.2.0.tgz, debug-2.6.1.tgz

debug-2.6.0.tgz

small debugging utility

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

Path to dependency file: /fixtures/fiber-debugger/package.json

Path to vulnerable library: /fixtures/fiber-debugger/node_modules/debug/package.json,/fixtures/dom/node_modules/debug/package.json

Dependency Hierarchy: - react-scripts-0.9.5.tgz (Root Library) - eslint-3.16.1.tgz - :x: **debug-2.6.0.tgz** (Vulnerable Library)

debug-2.6.3.tgz

small debugging utility

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

Path to dependency file: /fixtures/art/package.json

Path to vulnerable library: /fixtures/art/node_modules/debug/package.json,/fixtures/ssr/node_modules/debug/package.json

Dependency Hierarchy: - express-4.15.2.tgz (Root Library) - finalhandler-1.0.1.tgz - :x: **debug-2.6.3.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/debug/package.json,/scripts/bench/node_modules/debug/package.json,/fixtures/attribute-behavior/node_modules/debug/package.json,/fixtures/art/node_modules/debug/package.json,/fixtures/dom/node_modules/debug/package.json

Dependency Hierarchy: - babel-plugin-transform-class-properties-6.24.1.tgz (Root Library) - babel-template-6.26.0.tgz - babel-traverse-6.26.0.tgz - :x: **debug-2.6.8.tgz** (Vulnerable Library)

debug-2.6.6.tgz

small debugging utility

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

Path to dependency file: /package.json

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

Dependency Hierarchy: - babel-core-6.24.1.tgz (Root Library) - :x: **debug-2.6.6.tgz** (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: /fixtures/ssr/package.json

Path to vulnerable library: /fixtures/ssr/node_modules/debug/package.json,/fixtures/dom/node_modules/debug/package.json,/fixtures/fiber-debugger/node_modules/debug/package.json

Dependency Hierarchy: - react-scripts-0.9.5.tgz (Root Library) - eslint-plugin-import-2.0.1.tgz - eslint-module-utils-1.0.0.tgz - :x: **debug-2.2.0.tgz** (Vulnerable Library)

debug-2.6.1.tgz

small debugging utility

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

Path to dependency file: /fixtures/ssr/package.json

Path to vulnerable library: /fixtures/ssr/node_modules/debug/package.json

Dependency Hierarchy: - express-4.15.2.tgz (Root Library) - :x: **debug-2.6.1.tgz** (Vulnerable Library)

Found in HEAD commit: b9bd902dad80b8b5fa55a183526357266ae47bcc

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 (3.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Adjacent - Attack Complexity: Low - Privileges Required: Low - 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: https://github.com/advisories/GHSA-9vvw-cc9w-f27h

Release Date: 2023-01-09

Fix Resolution (debug): 2.6.9

Direct dependency fix Resolution (react-scripts): 1.0.0

Fix Resolution (debug): 2.6.9

Direct dependency fix Resolution (express): 4.15.5

Fix Resolution (debug): 2.6.9

Direct dependency fix Resolution (babel-core): 6.25.0

Fix Resolution (debug): 2.6.9

Direct dependency fix Resolution (react-scripts): 1.0.0

Fix Resolution (debug): 2.6.9

Direct dependency fix Resolution (express): 4.15.5


Step up your Open Source Security Game with Mend here