CVE-2024-46993
CVE-2024-46993 · Electron Vulnerable to Heap Buffer Overflow in NativeImage::CreateFromPath
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Electron is an open source framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. In versions prior to 28.3.2, 29.3.3, and 30.0.3, 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. This issue has been patched in versions 28.3.2, 29.3.3, and 30.0.3. There are no workarounds for this issue.
CVSS 4.4 · Medium · EPSS 0.2% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
electron
- Versions
- < 28.3.2: Affected
- >= 29.0.0-alpha.1, < 29.3.3: Affected
- >= 30.0.0-alpha.1, < 30.0.3: Affected
No fix published
electron npm
- Affected ranges
- SEMVER: < 28.3.2
Update to 28.3.2
electron npm
- Affected ranges
- SEMVER: ≥ 29.0.0-alpha.1, < 29.3.3
Update to 29.3.3
electron npm
- Affected ranges
- SEMVER: ≥ 30.0.0-alpha.1, < 30.0.3
Update to 30.0.3