CVE-2024-29900
JSON

7.5high

@electron/packager's build process memory potentially leaked into final executable

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.63% (higher than 51% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-34h3-8mw4-qw57

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

Product or packageVersionsReported by
electron packager= 18.3.0CVE List
electron-packager_project electron-packagerfrom 18.3.0 before 18.3.1CVE List
@electron/packager (npm)from 18.3.0 before 18.3.1GitHub Advisory Database
openjsf packager18.3.0NVD

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-402

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
Impact

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.

Patches

This issue is patched in 18.3.1

Workarounds

No workarounds, please update to a patched version of @electron/packager immediately if impacated.

NVD (es)

Electron Packager incluye el código fuente de la aplicación basada en Electron con un ejecutable de Electron renombrado y archivos de soporte en carpetas listas para su distribución. Un segmento aleatorio de ~1-10kb de memoria dinámica de Node.js asignado a cada lado de un búfer conocido se filtrará al ejecutable final. Esta memoria _podría_ contener información confidencial como variables de entorno, archivos secretos, etc. Este problema se solucionó en 18.3.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-29900 changed 2024-08-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-34h3-8mw4-qw57 changed 2026-09-10CC-BY-4.0
NVDCVE-2024-29900 changed 2026-06-17Public domain