| Package | Affected versions | Patched versions |
|---|---|---|
| electron | = 41.2.0= 42.0.0≥ 40.0.0, ≤ 40.8.4≥ 41.0.0, < 41.1.0≤ 39.8.4 | 41.1.0 |
| electron | ≥ 40.0.0-alpha.1, < 40.8.5≥ 41.0.0-alpha.1, < 41.1.0≥ 42.0.0-alpha.1, < 42.0.0-alpha.5< 39.8.5 | 40.8.541.1.042.0.0-alpha.539.8.5 |
Apps that call clipboard.readImage() may be vulnerable to a denial of service. If the system clipboard contains image data that fails to decode, the resulting null bitmap is passed unchecked to image construction, triggering a controlled abort and crashing the process.
Apps are only affected if they call clipboard.readImage(). Apps that do not read images from the clipboard are not affected. This issue does not allow memory corruption or code execution.
Validate that the clipboard contains image data via clipboard.availableFormats() before calling clipboard.readImage(). Note this only narrows the window — upgrading to a fixed version is recommended.
42.0.0-alpha.541.1.040.8.539.8.5If you have any questions or comments about this advisory, email us at [email protected]
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free