SCA: security update for electron (GHSA-gxh7-wv9q-fwfr)

critical Tenable Self-Hosted Container Security Plugin ID 415378

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML
and CSS. A Content-Security-Policy that disables eval, specifically setting a `script-src` directive and
_not_ providing `unsafe-eval` in that directive, is not respected in renderers that have sandbox disabled.
i.e. `sandbox: false` in the `webPreferences` object. This allows usage of methods like `eval()` and `new
Function` unexpectedly which can result in an expanded attack surface. This issue only ever affected the
22 and 23 major versions of Electron and has been fixed in the latest versions of those release lines.
Specifically, these versions contain the fixes: 22.0.1 and 23.0.0-alpha.2 We recommend all apps upgrade to
the latest stable version of Electron. If upgrading isn't possible, this issue can be addressed without
upgrading by enabling `sandbox: true` on all renderers. (CVE-2023-23623)

See Also

https://github.com/advisories/GHSA-gxh7-wv9q-fwfr

Plugin Details

Severity: Critical

ID: 415378

Version: Revision 1.11

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 6/1/2026

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2023-23623

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/6/2023

Vulnerability Publication Date: 9/6/2023

Reference Information

CVE: CVE-2023-23623

cwe: CWE-670