Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. 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.
{
"versions": [
{
"introduced": "0"
},
{
"last_affected": "19.3.4"
}
]
}{
"versions": [
{
"introduced": "10.0.0"
},
{
"fixed": "10.23.1"
},
{
"introduced": "12.0.0"
},
{
"fixed": "12.20.1"
},
{
"introduced": "14.0.0"
},
{
"fixed": "14.15.4"
},
{
"introduced": "15.0.0"
},
{
"fixed": "15.5.1"
},
{
"introduced": "0"
},
{
"last_affected": "10.0"
},
{
"introduced": "0"
},
{
"last_affected": "20.3.0"
}
]
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-8265.json"
[
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "32"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "33"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.1.1"
}
]
}
]