Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:28906
HistoryJan 07, 2021 - 4:10 a.m.

Use After Free

2021-01-0704:10:07
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
14
node.js
tls
vulnerability
memory corruption
dos

EPSS

0.005

Percentile

75.9%

Node.js is vulnerable to use after free bug. The vulnerability is possible because when writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument however if the DoWrite method does not return an error, this object is passed back to the caller as part of a StreamWriteResult structure. This may be exploited to corrupt memory leading to a Denial of Service or potentially other exploits.