ChoeMinji / react-17.0.2

MIT License
1 stars 0 forks source link

CVE-2023-26136 (Medium) detected in multiple libraries #308

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

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

CVE-2023-26136 - Medium Severity Vulnerability

Vulnerable Libraries - tough-cookie-2.3.2.tgz, tough-cookie-2.5.0.tgz, tough-cookie-2.3.3.tgz, tough-cookie-2.4.3.tgz, tough-cookie-3.0.1.tgz

tough-cookie-2.3.2.tgz

RFC6265 Cookies and Cookie Jar for node.js

Library home page: https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.2.tgz

Path to dependency file: /scripts/bench/package.json

Path to vulnerable library: /scripts/bench/package.json,/fixtures/ssr/package.json,/fixtures/fiber-debugger/node_modules/tough-cookie/package.json,/fixtures/attribute-behavior/package.json,/fixtures/dom/package.json,/fixtures/art/package.json

Dependency Hierarchy: - react-scripts-0.9.5.tgz (Root Library) - fsevents-1.0.17.tgz - node-pre-gyp-0.6.32.tgz - request-2.79.0.tgz - :x: **tough-cookie-2.3.2.tgz** (Vulnerable Library)

tough-cookie-2.5.0.tgz

RFC6265 Cookies and Cookie Jar for node.js

Library home page: https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz

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

Path to vulnerable library: /fixtures/blocks/package.json,/fixtures/flight/package.json,/package.json

Dependency Hierarchy: - jest-environment-jsdom-sixteen-1.0.3.tgz (Root Library) - jsdom-16.3.0.tgz - request-promise-native-1.0.8.tgz - :x: **tough-cookie-2.5.0.tgz** (Vulnerable Library)

tough-cookie-2.3.3.tgz

RFC6265 Cookies and Cookie Jar for node.js

Library home page: https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.3.tgz

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

Path to vulnerable library: /fixtures/expiration/package.json,/fixtures/packaging/webpack-alias/prod/package.json,/fixtures/packaging/webpack-alias/dev/package.json,/fixtures/packaging/webpack/dev/package.json,/fixtures/packaging/webpack/prod/package.json,/fixtures/concurrent/time-slicing/package.json,/fixtures/packaging/brunch/prod/package.json,/fixtures/packaging/brunch/dev/package.json,/scripts/release/package.json

Dependency Hierarchy: - brunch-2.10.12.tgz (Root Library) - chokidar-1.7.0.tgz - fsevents-1.1.2.tgz - node-pre-gyp-0.6.38.tgz - request-2.81.0.tgz - :x: **tough-cookie-2.3.3.tgz** (Vulnerable Library)

tough-cookie-2.4.3.tgz

RFC6265 Cookies and Cookie Jar for node.js

Library home page: https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz

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

Path to vulnerable library: /fixtures/flight/package.json,/package.json

Dependency Hierarchy: - jest-24.9.0.tgz (Root Library) - jest-cli-24.9.0.tgz - jest-config-24.9.0.tgz - jest-environment-jsdom-24.9.0.tgz - jsdom-11.12.0.tgz - :x: **tough-cookie-2.4.3.tgz** (Vulnerable Library)

tough-cookie-3.0.1.tgz

RFC6265 Cookies and Cookie Jar for node.js

Library home page: https://registry.npmjs.org/tough-cookie/-/tough-cookie-3.0.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy: - jest-environment-jsdom-sixteen-1.0.3.tgz (Root Library) - jsdom-16.3.0.tgz - :x: **tough-cookie-3.0.1.tgz** (Vulnerable Library)

Found in HEAD commit: 4669645897ed4ebcd4ee037f4dabb509ed4754c7

Found in base branch: master

Vulnerability Details

Versions of the package tough-cookie before 4.1.3 are vulnerable to Prototype Pollution due to improper handling of Cookies when using CookieJar in rejectPublicSuffixes=false mode. This issue arises from the manner in which the objects are initialized.

Publish Date: 2023-07-01

URL: CVE-2023-26136

CVSS 3 Score Details (6.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2023-26136

Release Date: 2023-07-01

Fix Resolution (tough-cookie): 4.1.3

Direct dependency fix Resolution (react-scripts): 4.0.0

Fix Resolution (tough-cookie): 4.1.3

Direct dependency fix Resolution (jest-environment-jsdom-sixteen): 2.0.0

Fix Resolution (tough-cookie): 4.1.3

Direct dependency fix Resolution (brunch): 2.10.13

Fix Resolution (tough-cookie): 4.1.3

Direct dependency fix Resolution (jest): 26.0.0

Fix Resolution (tough-cookie): 4.1.3

Direct dependency fix Resolution (jest-environment-jsdom-sixteen): 2.0.0


Step up your Open Source Security Game with Mend here