Skip to content
Fencer Vulns
high 8.1

CVE-2020-8265 json

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 2021-01-06 5 y ago modified 2026-10-16 23 d ago also BIT-node-2020-8265 , BIT-node-min-2020-8265 , EUVD-2020-29134

cvss
8.1
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
9.1%
EPSS 9.1% chance of exploitation in 30 days, percentile 95%
public exploits
0
none known

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.

Patch / fix

  • bitnami node 10.23.1, 12.20.1, 14.15.4, 15.5.1
  • bitnami node-min 10.23.1, 12.20.1, 14.15.4, 15.5.1
  • NodeJS Node 10.23.1, 12.20.1, 14.15.4, 15.5.1
  • nodejs Debian 14, Debian 13, Debian 12 12.20.1~dfsg-1

debian advisories DEBIAN-CVE-2020-8265

  • nodejs Ubuntu 20.04 LTS 10.19.0~dfsg-3ubuntu1.1
  • nodejs Ubuntu Pro 16.04 LTS 4.2.6~dfsg-1ubuntu4.2+esm2
  • nodejs Ubuntu Pro 18.04 LTS 8.10.0~dfsg-2ubuntu0.4+esm2

ubuntu advisories UBUNTU-CVE-2020-8265

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • rh-nodejs12-nodejs RHEL 3 SOFTWARE_COLLECTIONS 12.20.1-1.el7
  • rh-nodejs12-npm RHEL 3 SOFTWARE_COLLECTIONS 6.14.10-12.20.1.1.el7
  • rh-nodejs12-nodejs-nodemon RHEL 3 SOFTWARE_COLLECTIONS 2.0.3-1.el7
  • npm RHEL 8 1:6.14.10-1.14.15.4.2.module+el8.3.0+9635+ffdf8381
  • nodejs RHEL 8 1:14.15.4-2.module+el8.3.0+9635+ffdf8381
  • nodejs-nodemon RHEL 8 2.0.3-1.module+el8.3.0+6519+9f98ed83
  • nodejs-full-i18n RHEL 8 1:14.15.4-2.module+el8.3.0+9635+ffdf8381
  • nodejs-packaging RHEL 8 23-3.module+el8.3.0+6519+9f98ed83

red hat advisories RHSA-2021:0485RHSA-2021:0551RHSA-2021:0549RHSA-2021:0421RHSA-2021:0548RHSA-2021:0521

  • nodejs14 SLE Module for Web and Scripting 12 14.15.4-6.6.1
  • nodejs10 SLE Module for Web and Scripting 12 10.23.1-1.33.1
  • nodejs12 SLE Module for Web and Scripting 12 12.20.1-1.26.1
  • nodejs12 SLE Module for Web and Scripting 15 SP2 12.20.1-4.10.1
  • nodejs14 SLE Module for Web and Scripting 15 SP2 14.15.4-5.6.1
  • nodejs10 SLES for SAP 15, SLES 15-LTSS, SLE Module for Web and Scripting 15 SP2 +3 more 10.23.1-1.30.1

suse advisories SUSE-SU-2021:0107-1SUSE-SU-2021:0082-1SUSE-SU-2021:0068-1SUSE-SU-2021:0062-1SUSE-SU-2021:0061-1SUSE-SU-2021:0060-1

  • nodejs14 openSUSE Tumbleweed 14.17.5-1.2
  • nodejs10 openSUSE Leap 15.1 10.23.1-lp151.2.15.1
  • nodejs14 openSUSE Leap 15.2 14.15.4-lp152.5.1
  • nodejs10 openSUSE Leap 15.2 10.23.1-lp152.2.9.1
  • nodejs12 openSUSE Leap 15.2 12.20.1-lp152.3.9.1

opensuse advisories openSUSE-SU-2024:11096-1openSUSE-SU-2021:0082-1openSUSE-SU-2021:0066-1openSUSE-SU-2021:0065-1openSUSE-SU-2021:0064-1

  • nodejs-nodemon AlmaLinux 8 2.0.3-1.module_el8.4.0+2521+c668cc9f
  • nodejs-packaging AlmaLinux 8 23-3.module_el8.5.0+254+b4526b16
  • nodejs-packaging AlmaLinux 8 23-3.module_el8.4.0+2522+3bd42762
  • nodejs-packaging AlmaLinux 8 17-3.module_el8.4.0+2224+b07ac28e
  • nodejs-packaging AlmaLinux 8 17-3.module_el8.4.0+2521+c668cc9f
  • nodejs-packaging AlmaLinux 8 17-3.module_el8.3.0+2023+d2377ea3
  • nodejs-nodemon AlmaLinux 8 1.18.3-1.module_el8.3.0+2023+d2377ea3
  • nodejs-nodemon AlmaLinux 8 1.18.3-1.module_el8.3.0+2047+b07ac28e

almalinux advisories ALSA-2021:0551ALSA-2021:0549ALSA-2021:0548

  • nodejs-nodemon Rocky Linux 8 2.0.3-1.module+el8.6.0+982+9fdca2d4
  • nodejs-nodemon Rocky Linux 8 2.0.3-1.module+el8.3.0+100+234774f7
  • nodejs-nodemon Rocky Linux 8 2.0.3-1.module+el8.4.0+638+5344c6f7
  • nodejs-packaging Rocky Linux 8 23-3.module+el8.7.0+1071+4bdda2a8
  • nodejs-packaging Rocky Linux 8 23-3.module+el8.3.0+100+234774f7
  • nodejs-packaging Rocky Linux 8 23-3.module+el8.5.0+733+de4fee6c
  • nodejs-packaging Rocky Linux 8 17-3.module+el8.3.0+101+f84c7154
  • nodejs-nodemon Rocky Linux 8 1.18.3-1.module+el8.3.0+101+f84c7154

rocky linux advisories RLSA-2021:0551RLSA-2021:0549RLSA-2021:0548

  • nodejs Alpine 3.12, Alpine 3.11 12.20.1-r0
  • nodejs Alpine 3.24, Alpine 3.23, Alpine 3.22 +9 more 14.15.4-r0
  • nodejs-current Alpine 3.24, Alpine 3.23, Alpine 3.22 +9 more 15.5.1-r0

alpine advisories ALPINE-CVE-2020-8265

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • nodejs Arch Linux 15.5.1-1

arch linux advisories AVG-1400

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-8265 updated cvss 8.1

nodejs: use-after-free in the TLS implementation

  • Red Hat Enterprise Linux AppStream (v. 8) nodejs 10.23.1-1.module+el8.3.0+9502+012d8a97, nodejs 12.20.1-1.module+el8.3.0+9503+19cb079c, nodejs 14.15.4-2.module+el8.3.0+9635+ffdf8381, nodejs-packaging 17-3.module+el8+2873+aa7dfd9a, nodejs-nodemon 1.18.3-1.module+el8+2632+6c5111ed, nodejs-packaging 17-3.module+el8.1.0+3369+37ae6a45, +9 more
    fixed: vendor fix RHSA-2021:0548
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-nodejs10-nodejs 10.23.1-2.el7, rh-nodejs12-nodejs 12.20.1-1.el7, rh-nodejs14-nodejs 14.15.4-2.el7, rh-nodejs10-npm 6.14.10-10.23.1.2.el7, rh-nodejs12-npm 6.14.10-12.20.1.1.el7, rh-nodejs14-npm 6.14.10-14.15.4.2.el7, +1 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-nodejs10-nodejs 10.23.1-2.el7, rh-nodejs12-nodejs 12.20.1-1.el7, rh-nodejs14-nodejs 14.15.4-2.el7, rh-nodejs10-npm 6.14.10-10.23.1.2.el7, rh-nodejs12-npm 6.14.10-12.20.1.1.el7, rh-nodejs14-npm 6.14.10-14.15.4.2.el7, +1 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-nodejs10-nodejs 10.23.1-2.el7, rh-nodejs12-nodejs 12.20.1-1.el7, rh-nodejs14-nodejs 14.15.4-2.el7, rh-nodejs10-npm 6.14.10-10.23.1.2.el7, rh-nodejs12-npm 6.14.10-12.20.1.1.el7, rh-nodejs14-npm 6.14.10-14.15.4.2.el7, +1 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-nodejs10-nodejs 10.23.1-2.el7, rh-nodejs12-nodejs 12.20.1-1.el7, rh-nodejs14-nodejs 14.15.4-2.el7, rh-nodejs10-npm 6.14.10-10.23.1.2.el7, rh-nodejs12-npm 6.14.10-12.20.1.1.el7, rh-nodejs14-npm 6.14.10-14.15.4.2.el7, +1 more
    fixed: vendor fix RHSA-2021:0521
  • Red Hat Enterprise Linux 9 npm, nodejs, nodejs-libs, nodejs-full-i18n Red Hat Quay 3 quay
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-22-111-03 updated cvss 8.1

Hitachi Energy MicroSCADA Pro/X SYS600

  • Hitachi Energy SYS600 <= 10.1.1, <=9.4 FP1, >= 10.2.1, >= 10.0.0, <= 10.2.1
    affected: mitigation “For more information see Hitachi Energy advisory 8DBD000075” search.abb.com

From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf

cisa ICSA-22-090-02 updated cvss 5.9

Hitachi Energy e-mesh EMS

  • Hitachi Energy e-mesh EMS 1
    affected: mitigation “Hitachi Energy recommends users update to e-mesh: EMS 1.0.1 or later.” search.abb.com

From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf

Exploit prediction

9.12% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • hackerone.com https://hackerone.com/reports/988103 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P
OSV 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
bitnami node
>=10.0.0, <10.23.1
>=12.0.0, <12.20.1
>=14.0.0, <14.15.4
>=15.0.0, <15.5.1
10.23.1
12.20.1
14.15.4
15.5.1
bitnami node-min
>=10.0.0, <10.23.1
>=12.0.0, <12.20.1
>=14.0.0, <14.15.4
>=15.0.0, <15.5.1
10.23.1
12.20.1
14.15.4
15.5.1

Affected products

  • NodeJS Node

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.