Vulnerabilities · 2020 · Nodejs
CVE-2020-8265
Nodejs Node.js vulnerability
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.
Affected products
Node.js, Debian Linux, Fedora, Graalvm, Sinec Infrastructure Network Services. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nodejs Node.js runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- nodejs.org/en/blog/vulnerability/january-2021-security-releases/ · Patch
- cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf · Patch
- hackerone.com/reports/988103 · Exploit
- security.gentoo.org/glsa/202101-07 · Third Party Advisory
- security.netapp.com/advisory/ntap-20210212-0003/ · Third Party Advisory
- www.debian.org/security/2021/dsa-4826 · Third Party Advisory
- www.oracle.com/security-alerts/cpujan2021.html · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H
- nvd.nist.gov/vuln/detail/CVE-2020-8265
- cve.org/CVERecord?id=CVE-2020-8265
More vulnerabilities in Nodejs products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.