ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2020-8265

Details

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 packages

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTSnodejs
All versions before 4.2.6~dfsg-1ubuntu4.2+esm2 (fixed in 4.2.6~dfsg-1ubuntu4.2+esm2)
Ubuntu:Pro:18.04:LTSnodejs
All versions before 8.10.0~dfsg-2ubuntu0.4+esm2 (fixed in 8.10.0~dfsg-2ubuntu0.4+esm2)
Ubuntu:20.04:LTSnodejs
All versions before 10.19.0~dfsg-3ubuntu1.1 (fixed in 10.19.0~dfsg-3ubuntu1.1)

References