Skip to content
Not rated

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…

Description

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.

Affected products and versions

Product Affected versions Fixed in
Node 15.0 15.0 → < 15.5.1 15.5.1
Node 14.0 14.0 → < 14.15.4 14.15.4
Node 13.0 13.0 → latest No fix stated
Node 12.0 12.0 → < 12.20.1 12.20.1
Node 11.0 11.0 → latest No fix stated
Node 10.0 10.0 → < 10.23.1 10.23.1
Node 9.0 9.0 → latest No fix stated
Node 8.0 8.0 → latest No fix stated
Node 7.0 7.0 → latest No fix stated
Show the 3 other branches
Product Affected versions Fixed in
Node 6.0 6.0 → latest No fix stated
Node 5.0 5.0 → latest No fix stated
Node 4.0 4.0 → latest No fix stated

References

Timeline

  1. Published
  2. Last modified
The 129 CVEs of Node →
Track this CVE