CVE-2020-8265
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.
How to fix
- nodejs node.js10.23.1, 12.20.1, 14.15.4, 15.5.1 or later
- siemens sinec_infrastructure_network_services1.0.1.1 or later
- debian.org/security/2021/dsa-4826
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K4I6MZNC7C7VIDQR267OL4TVCI3ZKAC4/
- security.gentoo.org/glsa/202101-07
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H472D5HPXN6RRXCNFML3BK5OYC52CXF2/
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nodejs node.js | 10.0.0 ≤ v < 10.23.1, 12.0.0 ≤ v < 12.20.1, 14.0.0 ≤ v < 14.15.4, 15.0.0 ≤ v < 15.5.1 | 10.23.1, 12.20.1, 14.15.4, 15.5.1 |
| debian debian_linux | 10.0 | — |
| fedoraproject fedora | 32, 33 | — |
| oracle graalvm | 19.3.4, 20.3.0 | — |
| siemens sinec_infrastructure_network_services | v < 1.0.1.1 | 1.0.1.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.