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.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.6%top 49.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
npm@electron/packager18.3.1GHSA-34h3-8mw4-qw57

Affected products (as reported)

VendorProductVersions
electron packager = 18.3.0

Weakness: CWE-402 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References