CVE-2020-8265

HIGHCVSS 8.1/10EPSS 9.01%

Last modified

CVE-2020-8265 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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. EPSS estimates a 9.01% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
8.1/10

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
9.01%

94.6th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

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

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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 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.
How severe is CVE-2020-8265?
CVE-2020-8265 has a CVSS score of 8.1/10 (HIGH severity). The EPSS model estimates a 9.01% probability of exploitation in the next 30 days.
How do I fix CVE-2020-8265?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2020-8265?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST