Use After Free Affecting org.webjars.npm:electron package, versions [0,]
Snyk CVSS
Threat Intelligence
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 ID SNYK-JAVA-ORGWEBJARSNPM-1085991
- published 16 Mar 2021
- disclosed 15 Mar 2021
- credit Unknown
Introduced: 15 Mar 2021
CVE-2021-21193 Open this link in a new tabHow to fix?
There is no fixed version for org.webjars.npm:electron
.
Overview
org.webjars.npm: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 RootInlineBox
es.
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.