Live threats

All CVEs / Nodejs

CVE-2020-8265Nodejs Node.js

High 8.1 No auth needed

Priority
65
CVSS 3.1
8.1
EPSS
9.1%
probability of exploitation in 30 days · percentile 96
Auth required
No
Published
Jan 6, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-416
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Node.js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
nodejsnode.js≥ 10.0.0 < 10.23.1
nodejsnode.js≥ 12.0.0 < 12.20.1
nodejsnode.js≥ 14.0.0 < 14.15.4
nodejsnode.js≥ 15.0.0 < 15.5.1
debiandebian_linux10.0
fedoraprojectfedora32
fedoraprojectfedora33
oraclegraalvm19.3.4
oraclegraalvm20.3.0
siemenssinec_infrastructure_network_services< 1.0.1.1

Official sources

References

Links published by the sources. Open them with care.