CVE-2020-8265
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 6.8AV:N/AC:M/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.76%• Percentile: 74%
Techniques & Countermeasures
- CWE-416•Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected Systems
- debian•debian_linux
10.0
- fedoraproject•fedora
32 | 33
- nodejs•node
≥ 4.0, < 4.* | ≥ 5.0, < 5.* | ≥ 6.0, < 6.* | ≥ 7.0, < 7.* | ≥ 8.0, < 8.* | ≥ 9.0, < 9.* | ≥ 10.0, < 10.23.1 | ≥ 11.0, < 11.* | ≥ 12.0, < 12.20.1 | ≥ 13.0, < 13.* | ≥ 14.0, < 14.15.4 | ≥ 15.0, < 15.5.1
- nodejs•node.js
≥ 10.0.0, < 10.23.1 | ≥ 12.0.0, < 12.20.1 | ≥ 14.0.0, < 14.15.4 | ≥ 15.0.0, < 15.5.1
- oracle•graalvm
19.3.4 | 20.3.0
- siemens•sinec_infrastructure_network_services
< 1.0.1.1
References (9)
- https://nodejs.org/en/blog/vulnerability/january-2021-security-releases/
- https://hackerone.com/reports/988103
- https://www.debian.org/security/2021/dsa-4826
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K4I6MZNC7C7VIDQR267OL4TVCI3ZKAC4/
- https://security.gentoo.org/glsa/202101-07
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H472D5HPXN6RRXCNFML3BK5OYC52CXF2/
- https://www.oracle.com/security-alerts/cpujan2021.html
- https://security.netapp.com/advisory/ntap-20210212-0003/
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf