Mageia 2021-0069: nodejs security update
Summary
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. (CVE-2020-8265).
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 allow two copies of
a header field in an HTTP request (for example, two Transfer-Encoding header
fields). In this case, Node.js identifies the first header field and ignores
the second. This can lead to HTTP Request Smuggling. (CVE-2020-8287).
References
- https://bugs.mageia.org/show_bug.cgi?id=28015
- https://nodejs.org/en/blog/vulnerability/january-2021-security-releases/
- https://nodejs.org/en/blog/release/v10.23.1/
- https://www.debian.org/security/2021/dsa-4826
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/K4I6MZNC7C7VIDQR267OL4TVCI3ZKAC4/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8265
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8287
Resolution
MGASA-2021-0069 - Updated nodejs packages fix security vulnerabilities
SRPMS
- 7/core/nodejs-10.23.1-10.mga7