Use After Free in Node.js Node
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.091 (95.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 95th percentile — 95.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.091 · newest: 0.091 · change: 0.000
Affected products
- Node.js Node — versions 4.0, 5.0, 6.0
- Node.js
- Oracle Graalvm — versions 19.3.4, 20.3.0
- Siemens Sinec Infrastructure Network Services
- Debian Linux — versions 10.0
- Fedoraproject Fedora — versions 32, 33
Weakness classification (CWE)
References
- nodejs.org/en/blog/vulnerability/january-2021-security-releases/ (Patch, Vendor Advisory)
- hackerone.com/reports/988103 (Exploit, Patch, Third Party Advisory, Issue Tracking)
- www.debian.org/security/2021/dsa-4826 (vendor-advisory, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- security.gentoo.org/glsa/202101-07 (vendor-advisory, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- www.oracle.com/security-alerts/cpujan2021.html (Third Party Advisory)
- security.netapp.com/advisory/ntap-20210212-0003/ (Third Party Advisory)
- cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2020-8265?
- CVE-2020-8265 is a high-severity vulnerability in Node.js Node, classified under Use After Free. CVSS score: 8.1/10. Published 2021-01-06.
- How severe is CVE-2020-8265?
- High severity. CVSS v3 base score is 8.1 out of 10.