Skip to main content
← All vulnerabilities
CVE-2020-8265

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.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 10.23.1, 12.20.1, 14.15.4, 15.5.1
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • NodeJS Node

    From 4.0; From 5.0; From 6.0; From 7.0; From 8.0; From 9.0; From 10.0 · fixed in 10.23.1; From 11.0; From 12.0 · fixed in 12.20.1; From 13.0; From 14.0 · fixed in 14.15.4; From 15.0 · fixed in 15.5.1

References 9

nodejs.org

hackerone.com

debian.org

lists.fedoraproject.org

security.gentoo.org

oracle.com

security.netapp.com

cert-portal.siemens.com