Uninitialized Memory Exposure

Affecting electron package, versions <1.6.1

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application.

Affected versions of the package are vulnerable to Uninitialized Memory Exposure. The Buffer class in Node.js is available as global, even if the nodeintegration attribute is not added. This could result in concatenation of uninitialized memory to the buffer collection.

This is a result of unobstructed use of the Buffer constructor, whose insecure default constructor increases the odds of memory leakage.

Remediation

Upgrade electron to version 1.6.1 or higher. Note This is vulnerable only for Node <=4

References

CVSS Score

7.5
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    None
  • Availability
    None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Credit
Unknown
CWE
CWE-200
Snyk ID
npm:electron:20160903
Disclosed
02 Sep, 2016
Published
09 Oct, 2017