Vulnerability · Published Mar 29, 2024 · Assigned by GitHub_M
CVE-2024-29900@electron/packager's build process memory potentially leaked into final executable
High 7.5
In plain English
A high-severity security flaw in packager from electron. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Electron Packager bundles Electron-based application source code with a renamed Electron executable and supporting files into folders ready for distribution. A random segment of ~1-10kb of Node.js heap memory allocated either side of a known buffer will be leaked into the final executable. This memory _could_ contain sensitive information such as environment variables, secrets files, etc. This issue is patched in 18.3.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @electron/packager | 18.3.1 | GHSA-34h3-8mw4-qw57 |
Affected products (as reported)
Weakness: CWE-402 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N