Use After Free Affecting electron package, versions >=12.0.0 <12.0.5>=11.0.0 <11.4.4<10.4.4


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.2% (86th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ELECTRON-1252280
  • published22 Apr 2021
  • disclosed20 Apr 2021
  • creditBohan Liu of Tencent Security Xuanwu Lab, Moon Liang of Tencent Security Xuanwu Lab

Introduced: 20 Apr 2021

CVE-2021-21195  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

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

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.

References

CVSS Scores

version 3.1