Patchfirst
CVE-2018-1000136 EPSS 5.1%

Electron version 1.7 up to 1.7.12; 1.8 up to 1.8.3 and 2.0.0 up to 2.0.0-beta.3 contains an improper handling of…

Fix:upgrade electron to 1.8.4 also fixes CVE-2018-1000006 Details ↓

Summary

Electron versions 1.7 through 1.7.12, 1.8 through 1.8.3, and 2.0.0 through 2.0.0-beta.3 mishandle certain values in Webviews, which is a flaw in the framework's webview component. An attacker can achieve remote code execution where the app runs third-party code, disallows Node integration, and does not explicitly set whether the webview is enabled or disabled.

Official description · CVE.org

Electron version 1.7 up to 1.7.12; 1.8 up to 1.8.3 and 2.0.0 up to 2.0.0-beta.3 contains an improper handling of values vulnerability in Webviews that can result in remote code execution. This attack appear to be exploitable via an app which allows execution of 3rd party code AND disallows node integration AND has not specified if webview is enabled/disabled. This vulnerability appears to have been fixed in 1.7.13, 1.8.4, 2.0.0-beta.4.

Breakdown
64.2 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 23 months after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+23 mo

2 related vulnerabilities in the same code over 5 months. The latest fix listed for electron is 8.2.4.

Linked vulnerabilitiesLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. This CVECVE-2018-1000136Electron version 1.7 up to 1.7.12; 1.8 up to 1.8.3 and 2.0.0 up…23 Mar 2018
  2. relatedHigh

    Why these are linked:

    CVE-2018-15685GitHub Electron 1.7.15, 1.8.7, 2.0.7, and 3.0.0-beta.6, in…23 Aug 2018

Fixes in electronnpm package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 1.7.8CVE-2017-161517 Jun 2018
  2. 1.8.2-beta.4CVE-2018-100000624 Jan 2018
  3. 1.8.2-beta5CVE-2018-10001187 Mar 2018
  4. 2.0.0-beta.5CVE-2018-100013623 Mar 2018
  5. 3.0.0-beta.7CVE-2018-1568523 Aug 2018
  6. 8.2.4CVE-2020-150967 Jul 2020
  7. 8.2.4CVE-2020-40757 Jul 2020Latest listed

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: electron.

Upgrade to 1.8.4

Fixes this CVE and 1 other known vulnerability in this package (CVE-2018-1000006).

Still affected on this line by CVE-2020-15096 (fixed in 6.1.11, a newer line); CVE-2023-5217 (fixed in 22.3.25, a newer line).

Also affected, despite being newer: 2.0.0-beta.1 up to 2.0.0-beta.5.

npmnpm install electron@1.8.4

The first fix for CVE-2018-1000136.

Affected versions, by release line

If you runUpgrade to
2.0.0-beta.1 up to 2.0.0-beta.5

Still affected on this line by CVE-2020-15096 (fixed in 6.1.11, a newer line); CVE-2023-5217 (fixed in 22.3.25, a newer line).

2.0.0-beta.5
1.8.0 up to 1.8.41.8.4
1.7.0 up to 1.7.13

Still affected on this line by CVE-2020-15096 (fixed in 6.1.11, a newer line); CVE-2023-5217 (fixed in 22.3.25, a newer line).

1.7.13

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 1 community threat pulse (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

2 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close