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

Status: PUBLISHED

Assigner: hackerone

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

Updated: 2024-08-04T09:56:27.971Z

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

Link: CVE-2020-8265

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

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

Modified: 2024-11-21T05:38:37.120

Link: CVE-2020-8265

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-01-04T00:00:00Z

Links: CVE-2020-8265 - Bugzilla