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.
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: hackerone

Published: 2021-01-06T21:01:15

Updated: 2022-03-08T14:07:17

Reserved: 2020-01-28T00:00:00


Link: CVE-2020-8265

JSON object: View

cve-icon NVD Information

Status : Modified

Published: 2021-01-06T21:15:14.410

Modified: 2023-11-07T03:26:19.223


Link: CVE-2020-8265

JSON object: View

cve-icon Redhat Information

No data.

CWE