electron-api-demos@2.0.1

Vulnerabilities

109 via 109 paths

Dependencies

165

Source

npm

Find, fix and prevent vulnerabilities in your code.

Severity
  • 5
  • 82
  • 21
  • 1
Status
  • 109
  • 0
  • 0

critical severity

Out-of-bounds

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.4.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Out-of-bounds via the V8 component in Chrome.

Remediation

Upgrade electron to version 11.4.4, 10.4.4, 12.0.6 or higher.

References

critical severity

Out-of-bounds Write

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@11.4.10.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Out-of-bounds Write via ANGLE in Chrome.

Remediation

Upgrade electron to version 12.0.13, 11.4.10 or higher.

References

critical severity
new

Type Confusion

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@12.2.3.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Type Confusion via the V8 module in Chromium.

Remediation

Upgrade electron to version 14.2.1, 13.6.2, 12.2.3 or higher.

References

critical severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@9.4.1.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free. An unknown vunerability exists in Chrome.

Remediation

Upgrade electron to version 9.4.1, 10.3.2 or higher.

References

critical severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@11.2.2.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free via handling of cookies.

Remediation

Upgrade electron to version 9.4.2, 10.3.1, 11.2.2 or higher.

References

high severity

Access of Resource Using Incompatible Type ('Type Confusion')

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@11.4.9.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Access of Resource Using Incompatible Type ('Type Confusion'). Type confusion in V8 in Google Chrome allows a remote attacker to potentially exploit heap corruption via a crafted HTML page.

Remediation

Upgrade electron to version 12.0.12, 11.4.9 or higher.

References

high severity

Access Restriction Bypass

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@12.2.0.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Access Restriction Bypass in Blink.

Remediation

Upgrade electron to version 13.5.0, 12.2.0 or higher.

References

high severity

Heap Buffer Overflow

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.1.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Heap Buffer Overflow via WebAudio.

Remediation

Upgrade electron to version 11.4.0, 10.4.1 or higher.

References

high severity

Heap Overflow

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@6.1.10.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Heap Overflow. A Heap buffer overflow exists in the media component of Google Chrome, which also affects chromium.

Remediation

Upgrade electron to version 6.1.10, 7.2.2, 8.2.1 or higher.

References

high severity

Heap-based Buffer Overflow

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@9.4.0.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Heap-based Buffer Overflow. A heap buffer overflow flaw was found in the UI component of the Chromium browser.

Remediation

Upgrade electron to version 9.4.0, 10.2.0 or higher.

References

high severity
new

Heap-based Buffer Overflow

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@12.2.3.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via the WebRTC module in Chromium.

Remediation

Upgrade electron to version 14.2.0, 13.5.2, 12.2.3 or higher.

References

high severity

Improper Access Control

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@9.4.0.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Improper Access Control. An insufficient policy enforcement flaw was found in the networking component of chromium.

Remediation

Upgrade electron to version 9.4.0, 10.1.7 or higher.

References

high severity

Improper Access Control

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@6.1.10.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Improper Access Control. It has an inappropriate implementation in V8.

Remediation

Upgrade electron to version 6.1.10, 7.2.2, 8.2.1 or higher.

References

high severity

Improper Input Validation

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@9.4.0.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Improper Input Validation. An insufficient data validation flaw was found in the WASM component of the Chromium browser.

Remediation

Upgrade electron to version 9.4.0, 10.1.7 or higher.

References

high severity

Integer Overflow

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.4.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Integer Overflow via Chromium in Mojo.

Remediation

Upgrade electron to version 10.4.4 or higher.

References

high severity

Integer Overflow or Wraparound

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.4.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Integer Overflow or Wraparound via the Mojo component of chromium.

Remediation

Upgrade electron to version 10.4.4, 12.0.6 or higher.

References

high severity

Out-of-Bounds

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.1.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Out-of-Bounds. Object lifecycle issue in audio.

Remediation

Upgrade electron to version 11.4.0, 10.4.1 or higher.

References

high severity

Out-of-bounds Write

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.1.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Out-of-bounds Write via a data race in the audio component. A remote attacker could potentially exploit heap corruption using a crafted HTML page.

Remediation

Upgrade electron to version 10.4.1, 11.4.1 or higher.

References

high severity

Type Confusion

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.7.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Type Confusion in V8.

Remediation

Upgrade electron to version 12.0.10, 11.4.8, 10.4.7 or higher.

References

high severity

Type Confusion

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@11.4.11.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Type Confusion in V8 via Chrome.

Remediation

Upgrade electron to version 12.0.16, 11.4.11 or higher.

References

high severity

Type Confusion

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@12.2.0.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Type Confusion via Blink layout in Chrome.

Remediation

Upgrade electron to version 13.5.0, 12.2.0 or higher.

References

high severity

Type Confusion

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@12.2.0.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Type Confusion in Blink layout.

Remediation

Upgrade electron to version 13.5.0, 12.2.0 or higher.

References

high severity

Type Confusion

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@7.3.1.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Type Confusion in V8.

Remediation

Upgrade electron to version 7.3.1 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@8.5.4.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free via the site isolation.

Remediation

Upgrade electron to version 8.5.4, 9.3.5, 10.1.6 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@9.4.0.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free. A use after free flaw was found in the PPAPI component of the Chromium browser.

Remediation

Upgrade electron to version 9.4.0, 10.2.0 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@9.4.4.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free in Media.

Remediation

Upgrade electron to version 11.2.1, 9.4.4 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@9.4.4.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free. It hands sub-queries with both a correlated WHERE clause and a HAVING 0 clause where the parent query is itself an aggregate.

Remediation

Upgrade electron to version 11.2.1, 9.4.4 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.1.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free. When a LayoutInline is removed, LineBoxList::DirtyLinesFromChangedChild tries to mark affected RootInlineBox dirty.

When the |LayoutInline| to be removed is culled, it tries to find the RootInlineBox from its previous siblings, then look for its previous and next RootInlineBoxes.

Occasionally, the next next line of the previous sibling is wrapped at the LayoutInline, and that its LineBreakObj() holds the reference to the LayoutInline. This patch marks such RootInlineBox dirty.

Remediation

Upgrade electron to version 11.4.0, 10.4.1 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.1.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free in WebRTC.

Remediation

Upgrade electron to version 11.4.0, 10.4.1 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.2.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free. It allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.

Remediation

Upgrade electron to version 10.4.2, 11.4.1 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.4.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free via a vulnerability that exists in Blink in Chromium. A remote attacker can trick the victim to visit a specially crafted web page, trigger a use-after-free error and execute arbitrary code on the system.

Remediation

Upgrade electron to version 11.4.4, 10.4.4 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.4.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free via Chrome which allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.

Remediation

Upgrade electron to version 12.0.5, 11.4.4, 10.4.4 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.4.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free via chromium which allows a remote attacker to potentially exploit heap corruption via a crafted HTML page.

Remediation

Upgrade electron to version 12.0.5, 11.4.4, 10.4.4 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.4.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free via Aura in Google Chrome which allowed a remote attacker who had compromised the renderer process to potentially exploit heap corruption via a crafted HTML page.

Remediation

Upgrade electron to version 12.0.5, 11.4.4, 10.4.4 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.4.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free via the Navigation component of chromium.

Remediation

Upgrade electron to version 10.4.4, 11.4.4, 12.0.6 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.4.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free in the chromium extensions resource.

Remediation

Upgrade electron to version 11.4.4, 10.4.4 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.7.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free in File API.

Remediation

Upgrade electron to version 12.0.10, 11.4.8, 10.4.7 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.7.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free in Notifications.

Remediation

Upgrade electron to version 12.0.10, 11.4.8, 10.4.7 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@11.4.9.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free. Use after free in Loader in Google Chrome allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.

Remediation

Upgrade electron to version 12.0.12, 11.4.9 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@11.4.9.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free in BFCache in Google Chrome, which allows a remote attacker to potentially exploit heap corruption via a crafted HTML page.

Remediation

Upgrade electron to version 12.0.13, 11.4.9 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@11.4.10.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free in WebGL.

Remediation

Upgrade electron to version 12.0.13, 11.4.10 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@11.4.10.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free in WebRTC.

Remediation

Upgrade electron to version 12.0.14, 11.4.10 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@11.4.10.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free in WebAudio.

Remediation

Upgrade electron to version 12.0.14, 11.4.10 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@11.4.11.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free in Blink XSLT.

Remediation

Upgrade electron to version 12.0.16, 11.4.11 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@11.4.11.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free in WebSerial via Chrome.

Remediation

Upgrade electron to version 12.0.16, 11.4.11 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@11.4.11.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free in V8 via Chrome.

Remediation

Upgrade electron to version 12.0.16, 11.4.11 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@11.4.11.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free in GPU.

Remediation

Upgrade electron to version 13.1.8, 12.0.16, 11.4.11 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@11.4.11.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free in Autofill.

Remediation

Upgrade electron to version 12.0.16, 11.4.11 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@12.2.0.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free in Indexed DB API.

Remediation

Upgrade electron to version 13.5.0, 12.2.0 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@12.2.2.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free via heap corruption through a crafted HTML page.

Remediation

Upgrade electron to version 14.1.1, 13.5.2, 12.2.2 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@12.2.2.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free in the file system API, through a heap corruption via a crafted HTML page.

Remediation

Upgrade electron to version 14.1.1, 13.5.2, 12.2.2 or higher.

References

high severity
new

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@12.2.3.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free via the Garbage Collection module in Chromium.

Remediation

Upgrade electron to version 14.2.1, 13.6.2, 12.2.3 or higher.

References

high severity
new

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@13.6.2.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free via the Web Transport module in Chromium.

Remediation

Upgrade electron to version 14.2.1, 13.6.2 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@6.1.10.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free. Multiple user after free vulnerabilities exists in the WebAudio component of chromium.

Remediation

Upgrade electron to version 6.1.10, 7.2.2, 8.2.1 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@6.1.10.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free. It allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.

Remediation

Upgrade electron to version 6.1.10, 7.2.2, 8.2.1 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@6.1.10.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free via the audio component. It allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.

Remediation

Upgrade electron to version 6.1.10, 7.2.2, 8.2.1 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@7.2.2.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free via the audio component.

Remediation

Upgrade electron to version 8.2.1, 7.2.2 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@6.1.10.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free. It allows a remote attacker to potentially exploit heap corruption via a crafted HTML page.

Remediation

Upgrade electron to version 6.1.10, 7.2.2, 8.2.0 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@8.3.1.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free in WebRTC.

Remediation

Upgrade electron to version 8.3.1 or higher.

References

high severity

Improper Input Validation

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.2.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Improper Input Validation. It allowed a remote attacker to leak cross-origin data via a crafted HTML page.

Remediation

Upgrade electron to version 10.4.2, 11.4.1 or higher.

References

high severity

Out-of-Bounds

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.2.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Out-of-Bounds. Out of bounds memory access in V8 in Google Chrome prior to 89.0.4389.72 allowed a remote attacker to potentially perform out of bounds memory access via a crafted HTML page. This vulnerability relates to an electron component.

Remediation

Upgrade electron to version 10.4.2, 11.4.1 or higher.

References

high severity

Site Isolation Bypass

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@7.2.2.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Site Isolation Bypass. parent_execution_origin_ is provided from parent's RenderFrameHostImpl::last_committed_origin_ that is set during navigation commit. Worker creation IPC from the renderer to browser could race with navigation commit, and could see the wrong last committed origin.

Remediation

Upgrade electron to version 7.2.2, 8.2.1 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@9.4.4.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free. Since JavaScript may detach the underlying buffers, they need to be checked to ensure they're still valid before using them for decoding.

Remediation

Upgrade electron to version 10.2.0, 9.4.4 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@6.1.10.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free. An AudioContext is considered to have activity if it's not closed. Previously, suspended contexts were considered has having no activity, but that's not quite true since the context can be resumed at any time after. This would allow contexts to be collected prematurely even though the context was resumed. This causes the audio thread to access objects that are possibly deleted.

Remediation

Upgrade electron to version 6.1.10, 7.2.2, 8.0.0-beta.6 or higher.

References

high severity

Insecure Defaults

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.1.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Insecure Defaults. Insufficient policy enforcement in the File System API of chromium allows a remote attacker to bypass filesystem restrictions via a crafted HTML page.

Remediation

Upgrade electron to version 10.4.1, 11.4.1 or higher.

References

high severity

Privilege Escalation

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@7.2.4.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Privilege Escalation. This is a context isolation bypass, meaning that code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions.

##Note: Only apps using contextIsolation are affected.

Remediation

Upgrade electron to version 7.2.4, 8.2.4 or higher.

References

high severity

Privilege Escalation

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@7.2.4.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Privilege Escalation. This is a context isolation bypass, meaning that code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions.

##Note: Only apps using both contextIsolation and contextBridge are affected.

Remediation

Upgrade electron to version 7.2.4, 8.2.4 or higher.

References

high severity

Privilege Escalation

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@6.1.11.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Privilege Escalation. This is a context isolation bypass, meaning that code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions.

##Note: Only apps using contextIsolation are affected.

Remediation

Upgrade electron to version 6.1.11, 7.2.4, 8.2.4 or higher.

References

high severity

Heap-based Buffer Overflow

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@8.5.3.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Heap-based Buffer Overflow in Freetype.

Remediation

Upgrade electron to version 8.5.3, 9.3.3, 10.1.5 or higher.

References

high severity

Heap-based Buffer Overflow

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.4.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via V8.

Remediation

Upgrade electron to version 10.4.4, 11.4.4, 12.0.6 or higher.

References

high severity

Out-of-bounds Read

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@9.4.1.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Out-of-bounds Read. An unknown vunerability exists in Chrome which affects electron.

Remediation

Upgrade electron to version 9.4.1, 10.3.2 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@6.1.10.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free. FileChooserImpl can outlive ListenerProxy leading to a crash.

Remediation

Upgrade electron to version 6.1.10, 7.2.2, 8.2.0 or higher.

References

high severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@6.1.10.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free. Initialize() could potentially run twice in MojoVideoEncodeAcceleratorService.

Remediation

Upgrade electron to version 6.1.10, 7.2.2, 8.2.1 or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: trim-newlines
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13 electron-download@4.1.1 nugget@2.0.1 pretty-bytes@1.0.4 meow@3.7.0 trim-newlines@1.0.0

Overview

trim-newlines is a Trim newlines from the start and/or end of a string

Affected versions of this package are vulnerable to Denial of Service (DoS) via the end() method.

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.

Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.

One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.

When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.

Two common types of DoS vulnerabilities:

  • High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.

  • Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm ws package

Remediation

Upgrade trim-newlines to version 3.0.1, 4.0.1 or higher.

References

high severity

Out-of-bounds Read

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.4.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Out-of-bounds Read via the IPC in chromium.

Remediation

Upgrade electron to version 11.4.4, 10.4.4 or higher.

References

high severity

Arbitrary Code Execution

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@5.0.0.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Arbitrary Code Execution due to Node being enabled in a webview because the default values of nodeIntegration and webviewTag were set to true when they where undefined by a user. The fix allows users to prevent Node and webview being enabled, when undefined, by setting the default values of nodeIntegration and webviewTag to false.

Remediation

Upgrade electron to version 5.0.0-beta.1 or higher.

References

high severity

Buffer Overflow

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@12.2.0.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Buffer Overflow in ANGLE.

Remediation

Upgrade electron to version 13.5.0, 12.2.0 or higher.

References

high severity

Heap-based Buffer Overflow

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.7.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Heap-based Buffer Overflow in Reader Mode.

Remediation

Upgrade electron to version 12.0.10, 11.4.8, 10.4.7 or higher.

References

high severity

Heap-based Buffer Overflow

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.7.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Heap-based Buffer Overflow in History.

Remediation

Upgrade electron to version 12.0.10, 11.4.8, 10.4.7 or higher.

References

high severity

Heap-based Buffer Overflow

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.7.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Heap-based Buffer Overflow in Media Feeds.

Remediation

Upgrade electron to version 12.0.10, 11.4.8, 10.4.7 or higher.

References

high severity

Heap-based Buffer Overflow

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@13.5.2.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via the Blink module in Chromium.

Remediation

Upgrade electron to version 14.2.0, 13.5.2 or higher.

References

high severity

Improper Validation

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@9.4.4.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Improper Validation. The value of a node was accessed without prior HasValue check. With WebAssembly this node is not guaranteed to be a value.

Remediation

Upgrade electron to version 10.1.6, 9.4.4 or higher.

References

high severity

Insufficient Validation

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@9.4.0.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Insufficient Validation in V8.

Remediation

Upgrade electron to version 9.4.0, 10.2.0 or higher.

References

high severity

Insufficient Validation

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@9.4.2.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Insufficient Validation via an unknown issue in chromium.

Remediation

Upgrade electron to version 9.4.2, 10.3.1, 11.2.2 or higher.

References

high severity

Out-of-Bounds

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@12.2.0.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Out-of-Bounds in ANGLE.

Remediation

Upgrade electron to version 13.5.0, 12.2.0 or higher.

References

high severity

Out-of-bounds Read

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@6.1.10.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Out-of-bounds Read. The input to sctp_load_addresses_from_init is verified by calling sctp_arethere_unrecognized_parameters, however there is a difference in how these functions handle parameter bounds. The function sctp_arethere_unrecognized_parameters does not process a parameter that is partially outside of the limit of the chunk, meanwhile, sctp_load_addresses_from_init will continue processing until a parameter that is entirely outside of the chunk occurs.

This means that the last parameter of a chunk is not always verified, which can lead to parameters with very short plen values being processed by sctp_load_addresses_from_init. This can lead to out-of-bounds reads whenever the plen is subtracted from the header len.

Remediation

Upgrade electron to version 6.1.10, 7.2.2, 8.2.0 or higher.

References

high severity

Race Condition

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.7.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Race Condition in Aura.

Remediation

Upgrade electron to version 12.0.10, 11.4.8, 10.4.7 or higher.

References

medium severity

Arbitrary File Read

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@7.2.4.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Arbitrary File Read. It allows arbitrary local file read by defining unsafe window options on a child window opened via window.open.

Remediation

Upgrade electron to version 7.2.4, 8.2.4 or higher.

References

medium severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@6.1.10.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free. The rendering_orphan_handlers_ and deletable_orphan_handlers_ handlers can hold references to the context after BaseAudioContext is destroyed.

Remediation

Upgrade electron to version 6.1.10, 7.2.2, 8.2.1 or higher.

References

medium severity

Access Restriction Bypass

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.3.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Access Restriction Bypass. Inappropriate implementation in Referrer in Google Chrome prior to 89.0.4389.72 allowed a remote attacker to bypass navigation restrictions via a crafted HTML page. This vulnerability relates to an electron component.

Remediation

Upgrade electron to version 10.4.3, 11.4.1 or higher.

References

medium severity

Heap-based Buffer Overflow

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@11.4.11.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Heap-based Buffer Overflow in WebGL via Chrome. This allows a remote attacker to potentially exploit heap corruption via a crafted HTML page.

Remediation

Upgrade electron to version 13.1.8, 12.0.16, 11.4.11 or higher.

References

medium severity

Improper Input Validation

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@9.4.4.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Improper Input Validation via the File System API.

Remediation

Upgrade electron to version 11.2.1, 9.4.4 or higher.

References

medium severity

Improper Input Validation

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@12.2.1.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Improper Input Validation. Insufficient validation exist in the svg painting code which may access a content-visibility locked element via an svg reference.

Remediation

Upgrade electron to version 14.1.0, 13.5.1, 12.2.1 or higher.

References

medium severity

Information Exposure

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@9.4.1.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Information Exposure. When a BigInt is right-shifted the backing store is not properly cleared, allowing uninitialized memory to be read.

Remediation

Upgrade electron to version 9.4.1, 10.3.2 or higher.

References

medium severity

Information Exposure

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@12.2.2.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Information Exposure via the core module in Chromium.

Remediation

Upgrade electron to version 14.2.0, 13.5.2, 12.2.2 or higher.

References

medium severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@11.4.10.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free in Network service.

Remediation

Upgrade electron to version 12.0.13, 11.4.10 or higher.

References

medium severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@11.4.11.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free via sqlite. This can allow a remote attacker to potentially exploit heap corruption via a crafted HTML page.

Remediation

Upgrade electron to version 13.1.8, 12.0.16, 11.4.11 or higher.

References

medium severity

Buffer Underflow

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@6.1.10.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Buffer Underflow. Since there may be multiple instance of DWriteFontProxyImpl instantiated for multiple RenderProcessHosts, and DWriteFontProxyImpl::GetUniqueNameLookupTable may access DWriteFontLookupTableBuilder::QueueShareMemoryRegionWhenReady from separate threads, there may be race conditions around the pending_callbacks_ member of DWriteFontLookupTableBuilder.

Remediation

Upgrade electron to version 6.1.10, 7.2.2, 8.2.0 or higher.

References

medium severity

Sandbox Bypass

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@12.2.2.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Sandbox Bypass via chromium, due to a child process's delayed integrity level not being set correctly.

Remediation

Upgrade electron to version 12.2.2, 13.5.2, 14.2.0 or higher.

References

medium severity

Improper Input Validation

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@12.2.1.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Improper Input Validation. It is possible to kill a renderer if it provides an unexpected FrameOwnerElementType.

Remediation

Upgrade electron to version 13.5.1, 12.2.1 or higher.

References

medium severity

Information Exposure

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@9.4.0.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Information Exposure. IPC messages sent from the main process to a subframe in the renderer process, through webContents.sendToFrame, event.reply or when using the remote module, can in some cases be delivered to the wrong frame.

Remediation

Upgrade electron to version 9.4.0, 10.2.0, 11.1.0, 12.0.0-beta.9 or higher.

References

medium severity

Information Exposure

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.1.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Information Exposure. The is a side-channel information leakage in autofill.

Remediation

Upgrade electron to version 11.4.0, 10.4.1 or higher.

References

medium severity

Out-of-Bounds

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@12.1.2.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Out-of-Bounds. An out of bounds write issue exists in engine.

Remediation

Upgrade electron to version 13.5.0, 12.1.2 or higher.

References

medium severity

Regular Expression Denial of Service (ReDoS)

  • Vulnerable module: highlight.js
  • Introduced through: highlight.js@9.18.5

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 highlight.js@9.18.5
    Remediation: Upgrade to highlight.js@10.4.1.

Overview

highlight.js is a syntax highlighter written in JavaScript. It works in the browser as well as on the server. It works with pretty much any markup, doesn’t depend on any framework, and has automatic language detection.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via Exponential and Polynomial catastrophic backtracking in multiple language highlighting.

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its original and legitimate users. There are many types of DoS attacks, ranging from trying to clog the network pipes to the system by generating a large volume of traffic from many machines (a Distributed Denial of Service - DDoS - attack) to sending crafted requests that cause a system to crash or take a disproportional amount of time to process.

The Regular expression Denial of Service (ReDoS) is a type of Denial of Service attack. Regular expressions are incredibly powerful, but they aren't very intuitive and can ultimately end up making it easy for attackers to take your site down.

Let’s take the following regular expression as an example:

regex = /A(B|C+)+D/

This regular expression accomplishes the following:

  • A The string must start with the letter 'A'
  • (B|C+)+ The string must then follow the letter A with either the letter 'B' or some number of occurrences of the letter 'C' (the + matches one or more times). The + at the end of this section states that we can look for one or more matches of this section.
  • D Finally, we ensure this section of the string ends with a 'D'

The expression would match inputs such as ABBD, ABCCCCD, ABCBCCCD and ACCCCCD

It most cases, it doesn't take very long for a regex engine to find a match:

$ time node -e '/A(B|C+)+D/.test("ACCCCCCCCCCCCCCCCCCCCCCCCCCCCD")'
0.04s user 0.01s system 95% cpu 0.052 total

$ time node -e '/A(B|C+)+D/.test("ACCCCCCCCCCCCCCCCCCCCCCCCCCCCX")'
1.79s user 0.02s system 99% cpu 1.812 total

The entire process of testing it against a 30 characters long string takes around ~52ms. But when given an invalid string, it takes nearly two seconds to complete the test, over ten times as long as it took to test a valid string. The dramatic difference is due to the way regular expressions get evaluated.

Most Regex engines will work very similarly (with minor differences). The engine will match the first possible way to accept the current character and proceed to the next one. If it then fails to match the next one, it will backtrack and see if there was another way to digest the previous character. If it goes too far down the rabbit hole only to find out the string doesn’t match in the end, and if many characters have multiple valid regex paths, the number of backtracking steps can become very large, resulting in what is known as catastrophic backtracking.

Let's look at how our expression runs into this problem, using a shorter string: "ACCCX". While it seems fairly straightforward, there are still four different ways that the engine could match those three C's:

  1. CCC
  2. CC+C
  3. C+CC
  4. C+C+C.

The engine has to try each of those combinations to see if any of them potentially match against the expression. When you combine that with the other steps the engine must take, we can use RegEx 101 debugger to see the engine has to take a total of 38 steps before it can determine the string doesn't match.

From there, the number of steps the engine must use to validate a string just continues to grow.

String Number of C's Number of steps
ACCCX 3 38
ACCCCX 4 71
ACCCCCX 5 136
ACCCCCCCCCCCCCCX 14 65,553

By the time the string includes 14 C's, the engine has to take over 65,000 steps just to see if the string is valid. These extreme situations can cause them to work very slowly (exponentially related to input size, as shown above), allowing an attacker to exploit this and can cause the service to excessively consume CPU, resulting in a Denial of Service.

Remediation

Upgrade highlight.js to version 10.4.1 or higher.

References

medium severity

Use After Free

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@9.4.2.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free via the Blink component in chromium.

Remediation

Upgrade electron to version 9.4.2, 10.3.1, 11.2.2 or higher.

References

medium severity

Improper Input Validation

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.4.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Improper Input Validation due to insufficient data validation that exists in V8.

Remediation

Upgrade electron to version 10.4.4, 12.0.6 or higher.

References

medium severity

Exposure of Resource to Wrong Sphere

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@12.2.2.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Exposure of Resource to Wrong Sphere. Inappropriate implementation in Background Fetch API in Google Chrome prior to 94.0.4606.54 allowed a remote attacker to leak cross-origin data via a crafted HTML page.

Remediation

Upgrade electron to version 14.1.1, 13.5.2, 12.2.2 or higher.

References

medium severity

Improper Access Control

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@12.2.2.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Improper Access Control. Inappropriate implementation in Background Fetch API in Google Chrome prior to 94.0.4606.54 allowed a remote attacker who had compromised the renderer process to leak cross-origin data via a crafted HTML page.

Remediation

Upgrade electron to version 14.1.1, 13.5.2, 12.2.2 or higher.

References

low severity

Out Of Bounds Read

  • Vulnerable module: electron
  • Introduced through: electron@3.1.13

Detailed paths

  • Introduced through: electron-api-demos@2.0.1 electron@3.1.13
    Remediation: Upgrade to electron@10.4.4.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Out Of Bounds Read. Blit11 would clip the destination rectangle with the destination size but ignore the result. gl::ClipRectangle returns false when the rectangles do not intersect at all, indicating the blit can be skipped.

Remediation

Upgrade electron to version 10.4.4, 11.4.4, 12.0.6 or higher.

References