vendor:
N/A
by:
Project Zero
7,5
CVSS
HIGH
Use-After-Free
416
CWE
Product Name: N/A
Affected Version From: N/A
Affected Version To: N/A
Patch Exists: Yes
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2018
Use-After-Free in Element::setAttributeNodeNS
This vulnerability is a Use-After-Free vulnerability in Element::setAttributeNodeNS. It occurs when setAttributeNodeNS is called again in setAttributeInternal, resulting in two Attr objects with the same owner element and the same name after the first setAttributeNodeNS call. One of the Attr objects will hold the raw pointer of the owner element even if the owner element is freed.
Mitigation:
The best way to mitigate this vulnerability is to ensure that setAttributeNodeNS is not called again in setAttributeInternal.