electron
Affected
- introduced
0, fixed28.3.2(semver)
Fixed versions
28.3.2
Fix
- Fixed version
28.3.2npm install [email protected]
Advisory
Also known as: CVE-2024-46993
Electron vulnerable to Heap Buffer Overflow in NativeImage
Impact
The nativeImage.createFromPath() and nativeImage.createFromBuffer() functions call a function downstream that is vulnerable to a heap buffer overflow. An Electron program that uses either of the affected functions is vulnerable to a buffer overflow if an attacker is in control of the image's height, width, and contents.
Workaround
There are no app-side workarounds for this issue. You must update your Electron version to be protected.
Patches
v28.3.2v29.3.3v30.0.3For More Information
If you have any questions or comments about this advisory, email us at [[email protected]](mailto:[email protected]).
Medium Basis: The source's own band: MODERATE
0, fixed 28.3.2 (semver)28.3.2
28.3.2npm install [email protected]29.0.0-alpha.1, fixed 29.3.3 (semver)29.3.3
29.3.3npm install [email protected]30.0.0-alpha.1, fixed 30.0.3 (semver)30.0.3
30.0.3npm install [email protected]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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0