CONTENTUM.COMA specialist. A plan. A result.

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

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.