SCA: security update for electron-updater (GHSA-9jxc-qjr9-vjxq)

high Tenable Cloud Security Plugin ID 413351

Description

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

- electron-updater allows for automatic updates for Electron apps. The file `packages/electron-
updater/src/windowsExecutableCodeSignatureVerifier.ts` implements the signature validation routine for
Electron applications on Windows. Because of the surrounding shell, a first pass by `cmd.exe` expands any
environment variable found in command-line above. This creates a situation where `verifySignature()` can
be tricked into validating the certificate of a different file than the one that was just downloaded. If
the step is successful, the malicious update will be executed even if its signature is invalid. This
attack assumes a compromised update manifest (server compromise, Man-in-the-Middle attack if fetched over
HTTP, Cross-Site Scripting to point the application to a malicious updater server, etc.). The patch is
available starting from 6.3.0-alpha.6. (CVE-2024-39698)

See Also

https://github.com/advisories/GHSA-9jxc-qjr9-vjxq

Plugin Details

Severity: High

ID: 413351

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.58

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 6

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

CVSS Score Source: CVE-2024-39698

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

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

CVSS v4

Risk Factor: High

Base Score: 7.7

Threat Score: 6.8

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/9/2024

Vulnerability Publication Date: 7/9/2024

Reference Information

CVE: CVE-2024-39698