Skip to content

Update dependency electron-updater to v6.3.0 [SECURITY]#136

Open
renovate[bot] wants to merge 1 commit into
developfrom
renovate/npm-electron-updater-vulnerability
Open

Update dependency electron-updater to v6.3.0 [SECURITY]#136
renovate[bot] wants to merge 1 commit into
developfrom
renovate/npm-electron-updater-vulnerability

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate Bot commented Sep 26, 2024

This PR contains the following updates:

Package Change Age Confidence
electron-updater (source) 6.1.86.3.0 age confidence

electron-updater Code Signing Bypass on Windows

CVE-2024-39698 / GHSA-9jxc-qjr9-vjxq

More information

Details

Observations

The file packages/electron-updater/src/windowsExecutableCodeSignatureVerifier.ts implements the signature validation routine for Electron applications on Windows. It executes the following command in a new shell (process.env.ComSpec on Windows, usually C:\Windows\System32\cmd.exe):

https://github.com/electron-userland/electron-builder/blob/140e2f0eb0df79c2a46e35024e96d0563355fc89/packages/electron-updater/src/windowsExecutableCodeSignatureVerifier.ts#L35-L41

Because of the surrounding shell, a first pass by cmd.exe expands any environment variable found in command-line above.

Exploitation

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.

Impact

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.).

Patch

This vulnerability was patched in #​8295, by comparing the path in the output of Get-AuthenticodeSignature with the intended one. The patch is available starting from 6.3.0-alpha.6.

Severity

  • CVSS Score: 7.7 / 10 (High)
  • Vector String: 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

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

electron-userland/electron-builder (electron-updater)

v6.3.0

Compare Source

Minor Changes
Patch Changes

v6.2.1

Compare Source

Patch Changes

v6.2.0

Compare Source

Minor Changes

v6.1.9

Compare Source

Patch Changes

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/npm-electron-updater-vulnerability branch 2 times, most recently from f860439 to 8b4b443 Compare August 13, 2025 14:04
@renovate renovate Bot force-pushed the renovate/npm-electron-updater-vulnerability branch from 8b4b443 to a0e2c53 Compare October 21, 2025 16:03
@renovate renovate Bot force-pushed the renovate/npm-electron-updater-vulnerability branch from a0e2c53 to 82a2586 Compare February 12, 2026 12:00
@renovate renovate Bot changed the title Update dependency electron-updater to v6.3.0 [SECURITY] Update dependency electron-updater to v6.3.0 [SECURITY] - autoclosed Mar 27, 2026
@renovate renovate Bot closed this Mar 27, 2026
@renovate renovate Bot deleted the renovate/npm-electron-updater-vulnerability branch March 27, 2026 00:54
@renovate renovate Bot changed the title Update dependency electron-updater to v6.3.0 [SECURITY] - autoclosed Update dependency electron-updater to v6.3.0 [SECURITY] Mar 30, 2026
@renovate renovate Bot reopened this Mar 30, 2026
@renovate renovate Bot force-pushed the renovate/npm-electron-updater-vulnerability branch 2 times, most recently from 82a2586 to 125b8a7 Compare March 30, 2026 20:32
@renovate renovate Bot changed the title Update dependency electron-updater to v6.3.0 [SECURITY] Update dependency electron-updater to v6.3.0 [SECURITY] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot changed the title Update dependency electron-updater to v6.3.0 [SECURITY] - autoclosed Update dependency electron-updater to v6.3.0 [SECURITY] Apr 27, 2026
@renovate renovate Bot reopened this Apr 27, 2026
@renovate renovate Bot force-pushed the renovate/npm-electron-updater-vulnerability branch 2 times, most recently from 125b8a7 to 10eed45 Compare April 27, 2026 22:44
@renovate renovate Bot force-pushed the renovate/npm-electron-updater-vulnerability branch from 10eed45 to ea265b3 Compare May 12, 2026 11:30
@renovate renovate Bot force-pushed the renovate/npm-electron-updater-vulnerability branch from ea265b3 to 98dba98 Compare May 28, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants