GHSA-hvf8-h2qh-37m9

Suggest an improvement
Source
https://github.com/advisories/GHSA-hvf8-h2qh-37m9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/01/GHSA-hvf8-h2qh-37m9/GHSA-hvf8-h2qh-37m9.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-hvf8-h2qh-37m9
Aliases
Related
Published
2021-01-28T19:11:34Z
Modified
2023-11-01T04:52:45.245054Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N CVSS Calculator
Summary
IPC messages delivered to the wrong frame in Electron
Details

Impact

IPC messages sent from the main process to a subframe in the renderer process, through webContents.sendToFrame, event.reply or when using the remote module, can in some cases be delivered to the wrong frame.

If your app does ANY of the following, then it is impacted by this issue: - Uses remote - Calls webContents.sendToFrame - Calls event.reply in an IPC message handler

Patches

This has been fixed in the following versions:

  • 9.4.0
  • 10.2.0
  • 11.1.0
  • 12.0.0-beta.9

Workarounds

There are no workarounds for this issue.

For more information

If you have any questions or comments about this advisory, email us at security@electronjs.org.

Database specific
{
    "nvd_published_at": "2021-01-28T19:15:00Z",
    "github_reviewed_at": "2021-01-28T19:11:05Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-668"
    ]
}
References

Affected packages

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
9.4.0

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
10.0.0
Fixed
10.2.0

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
11.0.0
Fixed
11.1.0