CVE-2020-8265
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/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nodejs | Node.Js | >= 10.0.0, < 10.23.1 |
| Nodejs | Node.Js | >= 12.0.0, < 12.20.1 |
| Nodejs | Node.Js | >= 14.0.0, < 14.15.4 |
| Nodejs | Node.Js | >= 15.0.0, < 15.5.1 |
| Debian | Debian Linux | 10.0 |
| Fedoraproject | Fedora | 32 |
| Fedoraproject | Fedora | 33 |
| Oracle | Graalvm | 19.3.4 |
| Oracle | Graalvm | 20.3.0 |
| Siemens | Sinec Infrastructure Network Services | < 1.0.1.1 |
References
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdfPatch, Third Party Advisory
- https://hackerone.com/reports/988103Exploit, Issue Tracking, Patch, Third Party Advisory
- https://nodejs.org/en/blog/vulnerability/january-2021-security-releases/Patch, Vendor Advisory
- https://security.gentoo.org/glsa/202101-07Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210212-0003/Third Party Advisory
- https://www.debian.org/security/2021/dsa-4826Third Party Advisory
- https://www.oracle.com/security-alerts/cpujan2021.htmlThird Party Advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdfPatch, Third Party Advisory
- https://hackerone.com/reports/988103Exploit, Issue Tracking, Patch, Third Party Advisory
- https://nodejs.org/en/blog/vulnerability/january-2021-security-releases/Patch, Vendor Advisory
- https://security.gentoo.org/glsa/202101-07Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210212-0003/Third Party Advisory
- https://www.debian.org/security/2021/dsa-4826Third Party Advisory
- https://www.oracle.com/security-alerts/cpujan2021.htmlThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-8265?
How severe is CVE-2020-8265?
How do I fix CVE-2020-8265?
Are you affected by CVE-2020-8265?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
