CVE-2020-8265

Node.js 14 and 3 others: Use After Free (CWE-416)

CVE-2020-8265 is fixed in 12 products on 2 platforms, first by Node.js 12 12.20.1, released January 4, 2021. It is not reported as exploited. Patch Radar priority: High.

HighFixed on 2 platforms
CVSS
8.1
Moderate
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0912
95th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Windows apps
Node.js 10 10.23.2 Node.js 10 10.23.2 Jan 26, 2021
Node.js 12 12.20.1 Node.js 12 12.20.1 Jan 4, 2021
Node.js 14 14.15.4 Node.js 14 14.15.4 Jan 4, 2021
Node.js 15 15.5.1 Node.js 15 15.5.1 Jan 4, 2021
Linux
libnode64 · Ubuntu 20.04 LTS (focal) 10.19.0~dfsg-3ubuntu1.1 libnode64 10.19.0~dfsg-3ubuntu1.1 Jan 6, 2021
nodejs · RHEL 8 1:14.15.4-2.module+el8.3.0+9635+ffdf8381 RHSA-2021:0551 Feb 16, 2021
nodejs · Ubuntu 18.04.6 LTS (bionic) 8.10.0~dfsg-2ubuntu0.4+esm2 nodejs 8.10.0~dfsg-2ubuntu0.4+esm2 Jan 6, 2021
nodejs · Ubuntu 20.04 LTS (focal) 10.19.0~dfsg-3ubuntu1.1 nodejs 10.19.0~dfsg-3ubuntu1.1 Jan 6, 2021
nodejs · ol 8 1:14.15.4-2.module+el8.3.0+9657+a08a905a ELSA-2021-0551 Feb 20, 2021
nodejs-devel · RHEL 8 1:14.15.4-2.module+el8.3.0+9635+ffdf8381 RHSA-2021:0551 Feb 16, 2021
nodejs-devel · ol 8 1:14.15.4-2.module+el8.3.0+9657+a08a905a ELSA-2021-0551 Feb 20, 2021
nodejs-docs · RHEL 8 1:14.15.4-2.module+el8.3.0+9635+ffdf8381 RHSA-2021:0551 Feb 16, 2021
nodejs-docs · ol 8 1:14.15.4-2.module+el8.3.0+9657+a08a905a ELSA-2021-0551 Feb 20, 2021
nodejs-full-i18n · RHEL 8 1:14.15.4-2.module+el8.3.0+9635+ffdf8381 RHSA-2021:0551 Feb 16, 2021
nodejs-full-i18n · ol 8 1:14.15.4-2.module+el8.3.0+9657+a08a905a ELSA-2021-0551 Feb 20, 2021
nodejs-nodemon · RHEL 8 0:2.0.3-1.module+el8.3.0+6519+9f98ed83 RHSA-2021:0551 Feb 16, 2021
nodejs-nodemon · ol 8 0:2.0.3-1.module+el8.3.0+7818+6cd30d85 ELSA-2021-0551 Feb 20, 2021
nodejs-packaging · RHEL 8 0:23-3.module+el8.3.0+6519+9f98ed83 RHSA-2021:0551 Feb 16, 2021
nodejs-packaging · ol 8 0:23-3.module+el8.3.0+7818+6cd30d85 ELSA-2021-0551 Feb 20, 2021
npm · RHEL 8 1:6.14.10-1.14.15.4.2.module+el8.3.0+9635+ffdf8381 RHSA-2021:0551 Feb 16, 2021
npm · ol 8 1:6.14.10-1.14.15.4.2.module+el8.3.0+9657+a08a905a ELSA-2021-0551 Feb 20, 2021

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.