Offensive-Sec / test-react

MIT License
0 stars 0 forks source link

puppeteer-1.11.0.tgz: 3 vulnerabilities (highest severity is: 7.5) #8

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

mend-bolt-for-github[bot] commented 12 months ago
Vulnerable Library - puppeteer-1.11.0.tgz

A high-level API to control headless Chrome over the DevTools Protocol

Library home page: https://registry.npmjs.org/puppeteer/-/puppeteer-1.11.0.tgz

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

Path to vulnerable library: /scripts/release/package.json,/react-main/scripts/release/package.json

Found in HEAD commit: f7127272769002f98a4adb752b5ccfbffdc43a03

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (puppeteer version) Remediation Possible**
CVE-2024-37890 High 7.5 ws-6.2.2.tgz Transitive 3.0.0
CVE-2019-5786 Medium 6.5 puppeteer-1.11.0.tgz Direct 1.13.0
CVE-2017-16137 Low 3.7 debug-4.1.0.tgz Transitive 1.12.0

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-37890 ### Vulnerable Library - ws-6.2.2.tgz

Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js

Library home page: https://registry.npmjs.org/ws/-/ws-6.2.2.tgz

Path to dependency file: /react-main/fixtures/nesting/package.json

Path to vulnerable library: /react-main/fixtures/nesting/node_modules/webpack-dev-server/node_modules/ws/package.json,/react-main/scripts/release/package.json,/fixtures/nesting/node_modules/webpack-dev-server/node_modules/ws/package.json,/scripts/release/package.json,/fixtures/nesting/node_modules/jest-environment-jsdom-fourteen/node_modules/ws/package.json,/react-main/fixtures/nesting/node_modules/jest-environment-jsdom-fourteen/node_modules/ws/package.json

Dependency Hierarchy: - puppeteer-1.11.0.tgz (Root Library) - :x: **ws-6.2.2.tgz** (Vulnerable Library)

Found in HEAD commit: f7127272769002f98a4adb752b5ccfbffdc43a03

Found in base branch: main

### Vulnerability Details

ws is an open source WebSocket client and server for Node.js. A request with a number of headers exceeding theserver.maxHeadersCount threshold could be used to crash a ws server. The vulnerability was fixed in ws@8.17.1 (e55e510) and backported to ws@7.5.10 (22c2876), ws@6.2.3 (eeb76d3), and ws@5.2.4 (4abd8f6). In vulnerable versions of ws, the issue can be mitigated in the following ways: 1. Reduce the maximum allowed length of the request headers using the --max-http-header-size=size and/or the maxHeaderSize options so that no more headers than the server.maxHeadersCount limit can be sent. 2. Set server.maxHeadersCount to 0 so that no limit is applied.

Publish Date: 2024-06-17

URL: CVE-2024-37890

### 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/websockets/ws/security/advisories/GHSA-3h5v-q93c-6h6q

Release Date: 2024-06-17

Fix Resolution (ws): 6.2.3

Direct dependency fix Resolution (puppeteer): 3.0.0

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2019-5786 ### Vulnerable Library - puppeteer-1.11.0.tgz

A high-level API to control headless Chrome over the DevTools Protocol

Library home page: https://registry.npmjs.org/puppeteer/-/puppeteer-1.11.0.tgz

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

Path to vulnerable library: /scripts/release/package.json,/react-main/scripts/release/package.json

Dependency Hierarchy: - :x: **puppeteer-1.11.0.tgz** (Vulnerable Library)

Found in HEAD commit: f7127272769002f98a4adb752b5ccfbffdc43a03

Found in base branch: main

### Vulnerability Details

Object lifetime issue in Blink in Google Chrome prior to 72.0.3626.121 allowed a remote attacker to potentially perform out of bounds memory access via a crafted HTML page.

Publish Date: 2019-06-27

URL: CVE-2019-5786

### CVSS 3 Score Details (6.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - 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://chromereleases.googleblog.com/2019/03/stable-channel-update-for-desktop.html

Release Date: 2019-06-27

Fix Resolution: 1.13.0

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2017-16137 ### Vulnerable Library - debug-4.1.0.tgz

small debugging utility

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

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

Path to vulnerable library: /scripts/release/package.json,/react-main/scripts/release/package.json

Dependency Hierarchy: - puppeteer-1.11.0.tgz (Root Library) - :x: **debug-4.1.0.tgz** (Vulnerable Library)

Found in HEAD commit: f7127272769002f98a4adb752b5ccfbffdc43a03

Found in base branch: main

### 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 (3.7)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - 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

Origin: https://github.com/advisories/GHSA-gxpj-cx7g-858c

Release Date: 2018-06-07

Fix Resolution (debug): 4.3.1

Direct dependency fix Resolution (puppeteer): 1.12.0

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)