opentok-web-samples icon indicating copy to clipboard operation
opentok-web-samples copied to clipboard

electron-17.0.0-beta.1.tgz: 4 vulnerabilities (highest severity is: 9.8)

Open mend-for-github-com[bot] opened this issue 3 years ago • 0 comments

Vulnerable Library - electron-17.0.0-beta.1.tgz

Build cross platform desktop apps with JavaScript, HTML, and CSS

Library home page: https://registry.npmjs.org/electron/-/electron-17.0.0-beta.1.tgz

Path to dependency file: /Electron-Basic-Screen-Sharing/package.json

Path to vulnerable library: /Electron-Basic-Screen-Sharing/node_modules/electron/package.json

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in Remediation Available
CVE-2022-29247 High 9.8 electron-17.0.0-beta.1.tgz Direct 17.2.0
CVE-2021-44906 High 9.8 minimist-1.2.5.tgz Transitive 19.0.7
CVE-2022-29257 High 7.2 electron-17.0.0-beta.1.tgz Direct 17.2.0
CVE-2022-33987 Medium 5.3 got-9.6.0.tgz Transitive 19.0.7

Details

CVE-2022-29247

Vulnerable Library - electron-17.0.0-beta.1.tgz

Build cross platform desktop apps with JavaScript, HTML, and CSS

Library home page: https://registry.npmjs.org/electron/-/electron-17.0.0-beta.1.tgz

Path to dependency file: /Electron-Basic-Screen-Sharing/package.json

Path to vulnerable library: /Electron-Basic-Screen-Sharing/node_modules/electron/package.json

Dependency Hierarchy:

  • :x: electron-17.0.0-beta.1.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Electron is a framework for writing cross-platform desktop applications using JavaScript (JS), HTML, and CSS. A vulnerability in versions prior to 18.0.0-beta.6, 17.2.0, 16.2.6, and 15.5.5 allows a renderer with JS execution to obtain access to a new renderer process with nodeIntegrationInSubFrames enabled which in turn allows effective access to ipcRenderer. The nodeIntegrationInSubFrames option does not implicitly grant Node.js access. Rather, it depends on the existing sandbox setting. If an application is sandboxed, then nodeIntegrationInSubFrames just gives access to the sandboxed renderer APIs, which include ipcRenderer. If the application then additionally exposes IPC messages without IPC senderFrame validation that perform privileged actions or return confidential data this access to ipcRenderer can in turn compromise your application / user even with the sandbox enabled. Electron versions 18.0.0-beta.6, 17.2.0, 16.2.6, and 15.5.5 contain a fix for this issue. As a workaround, ensure that all IPC message handlers appropriately validate senderFrame.

Publish Date: 2022-06-13

URL: CVE-2022-29247

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High
For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29247

Release Date: 2022-06-13

Fix Resolution: 17.2.0

:rescue_worker_helmet: Automatic Remediation is available for this issue

CVE-2021-44906

Vulnerable Library - minimist-1.2.5.tgz

parse argument options

Library home page: https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz

Path to dependency file: /Electron-Basic-Screen-Sharing/package.json

Path to vulnerable library: /Electron-Basic-Screen-Sharing/node_modules/minimist/package.json

Dependency Hierarchy:

  • electron-17.0.0-beta.1.tgz (Root Library)
    • extract-zip-1.7.0.tgz
      • mkdirp-0.5.5.tgz
        • :x: minimist-1.2.5.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).

Publish Date: 2022-03-17

URL: CVE-2021-44906

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High
For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2022-03-17

Fix Resolution (minimist): 1.2.6

Direct dependency fix Resolution (electron): 19.0.7

:rescue_worker_helmet: Automatic Remediation is available for this issue

CVE-2022-29257

Vulnerable Library - electron-17.0.0-beta.1.tgz

Build cross platform desktop apps with JavaScript, HTML, and CSS

Library home page: https://registry.npmjs.org/electron/-/electron-17.0.0-beta.1.tgz

Path to dependency file: /Electron-Basic-Screen-Sharing/package.json

Path to vulnerable library: /Electron-Basic-Screen-Sharing/node_modules/electron/package.json

Dependency Hierarchy:

  • :x: electron-17.0.0-beta.1.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Electron is a framework for writing cross-platform desktop applications using JavaScript (JS), HTML, and CSS. A vulnerability in versions prior to 18.0.0-beta.6, 17.2.0, 16.2.6, and 15.5.5 allows attackers who have control over a given apps update server / update storage to serve maliciously crafted update packages that pass the code signing validation check but contain malicious code in some components. This kind of attack would require significant privileges in a potential victim's own auto updating infrastructure and the ease of that attack entirely depends on the potential victim's infrastructure security. Electron versions 18.0.0-beta.6, 17.2.0, 16.2.6, and 15.5.5 contain a fix for this issue. There are no known workarounds.

Publish Date: 2022-06-13

URL: CVE-2022-29257

CVSS 3 Score Details (7.2)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: High
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High
For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/electron/electron/security/advisories/GHSA-77xc-hjv8-ww97

Release Date: 2022-06-13

Fix Resolution: 17.2.0

:rescue_worker_helmet: Automatic Remediation is available for this issue

CVE-2022-33987

Vulnerable Library - got-9.6.0.tgz

Simplified HTTP requests

Library home page: https://registry.npmjs.org/got/-/got-9.6.0.tgz

Path to dependency file: /Electron-Basic-Screen-Sharing/package.json

Path to vulnerable library: /Electron-Basic-Screen-Sharing/node_modules/got/package.json

Dependency Hierarchy:

  • electron-17.0.0-beta.1.tgz (Root Library)
    • get-1.13.1.tgz
      • :x: got-9.6.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

The got package before 12.1.0 (also fixed in 11.8.5) for Node.js allows a redirect to a UNIX socket.

Publish Date: 2022-06-18

URL: CVE-2022-33987

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: Low
    • Availability Impact: None
For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-33987

Release Date: 2022-06-18

Fix Resolution (got): 12.2.0

Direct dependency fix Resolution (electron): 19.0.7

:rescue_worker_helmet: Automatic Remediation is available for this issue


:rescue_worker_helmet: Automatic Remediation is available for this issue.