VDB

CVE-2020-8265

CVE-2020-8265 PUBLISHED

Reported by hackerone · Published January 6, 2021

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
nodejsAlpine14.15.4-r0, 12.20.1-r0
nodejsArch Linux15.5.1-1
node-minBitnami15.5.1, 14.15.4, 12.20.1, 10.23.1
nodedhi.docker.com15.5.1, 14.15.4, 12.20.1, 10.23.1
nodejs-currentAlpine15.5.1-r0
nodeBitnami15.5.1, 14.15.4, 12.20.1, 10.23.1
node.jsnodejs15.5.1, 14.15.4, 12.20.1, 10.23.1
nodeDHI15.5.1, 14.15.4, 12.20.1, 10.23.1
nodejsUbuntu:Pro:16.04:LTS4.2.6~dfsg-1ubuntu4.2+esm2
nodejsUbuntu:20.04:LTS10.19.0~dfsg-3ubuntu1.1
alpine/nodejs-20alpine15.5.1, 14.15.4, 12.20.1, 10.23.1
nodeBitnami15.5.1, 14.15.4, 12.20.1, 10.23.1

7 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
NodeJSNode4.0, 5.0, 6.0
alpinenodejs0, 0
archnodejs0
NodeJSNode.js
alpinenodejs-current0
NodeJSNode5.0, 6.0, 7.0

Timeline

  • Jan 5, 2021 PoC Published
  • Jan 6, 2021 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 7, 2026 Distribution Patch (10 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (16 in total, the first dated here)
  • Aug 28, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-8265
vulnetix vdb fixes CVE-2020-8265

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-8265/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›