Advisory

GHSA-hv9c-qwqg-qj3v

Also known as: CVE-2018-15685

Summary

Electron webPreferences vulnerability can be used to perform remote code execution

Details

GitHub Electron 1.7.15, 1.8.7, 2.0.7, and 3.0.0-beta.6, in certain scenarios involving IFRAME elements and "nativeWindowOpen: true" or "sandbox: true" options, is affected by a webPreferences vulnerability that can be leveraged to perform remote code execution.

More information to determine if you are impacted can be found on the electron blog.

Recommendation

Upgrade Electron to >=3.0.0-beta.7, >=2.0.8, >=1.8.8, or >=1.7.16.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2018-08-23 19:12 UTC
Modified
2023-11-08 03:59 UTC

Affected packages and fixes

electron

npm · All systems

Affected

  • introduced 1.7.0, fixed 1.7.16 (semver)

Fixed versions

1.7.16

Fix

electron

npm · All systems

Affected

  • introduced 1.8.0, fixed 1.8.8 (semver)

Fixed versions

1.8.8

Fix

electron

npm · All systems

Affected

  • introduced 2.0.0, fixed 2.0.8 (semver)

Fixed versions

2.0.8

Fix

electron

npm · All systems

Affected

  • introduced 3.0.0-beta.1, fixed 3.0.0-beta.7 (semver)

Fixed versions

3.0.0-beta.7

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences