Skip to content

Commit 87ddc7f

Browse files
committed
2021-01-04, Version 12.20.1 'Erbium' (LTS)
Notable changes: This is a security release. Vulnerabilities fixed: - CVE-2020-8265: use-after-free in TLSWrap (High) Affected Node.js versions 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-8287: HTTP Request Smuggling in nodejs Affected versions of Node.js allow two copies of a header field in a 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 (https://cwe.mitre.org/data/definitions/444.html). - CVE-2020-1971: OpenSSL - EDIPARTYNAME NULL pointer de-reference (High) This is a vulnerability in OpenSSL which may be exploited through Node.js. You can read more about it in https://www.openssl.org/news/secadv/20201208.txt PR-URL: nodejs-private/node-private#240
1 parent 5b00de7 commit 87ddc7f

File tree

3 files changed

+44
-2
lines changed

3 files changed

+44
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ release.
2828
</tr>
2929
<tr>
3030
<td valign="top">
31-
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.20.0">12.20.0</a></b><br/>
31+
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.20.1">12.20.1</a></b><br/>
32+
<a href="doc/changelogs/CHANGELOG_V12.md#12.20.0">12.20.0</a><br/>
3233
<a href="doc/changelogs/CHANGELOG_V12.md#12.19.1">12.19.1</a><br/>
3334
<a href="doc/changelogs/CHANGELOG_V12.md#12.19.0">12.19.0</a><br/>
3435
<a href="doc/changelogs/CHANGELOG_V12.md#12.18.4">12.18.4</a><br/>

doc/changelogs/CHANGELOG_V12.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
</tr>
1212
<tr>
1313
<td valign="top">
14+
<a href="#12.20.1">12.20.1</a><br/>
1415
<a href="#12.20.0">12.20.0</a><br/>
1516
<a href="#12.19.1">12.19.1</a><br/>
1617
<a href="#12.19.0">12.19.0</a><br/>
@@ -66,6 +67,46 @@
6667
* [io.js](CHANGELOG_IOJS.md)
6768
* [Archive](CHANGELOG_ARCHIVE.md)
6869

70+
<a id="12.20.1"></a>
71+
## 2021-01-04, Version 12.20.1 'Erbium' (LTS), @richardlau
72+
73+
### Notable changes
74+
75+
This is a security release.
76+
77+
Vulnerabilities fixed:
78+
79+
* **CVE-2020-8265**: use-after-free in TLSWrap (High)
80+
Affected Node.js versions are vulnerable to a use-after-free bug in its
81+
TLS implementation. When writing to a TLS enabled socket,
82+
node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly
83+
allocated WriteWrap object as first argument. If the DoWrite method does
84+
not return an error, this object is passed back to the caller as part of
85+
a StreamWriteResult structure. This may be exploited to corrupt memory
86+
leading to a Denial of Service or potentially other exploits
87+
* **CVE-2020-8287**: HTTP Request Smuggling in nodejs
88+
Affected versions of Node.js allow two copies of a header field in a
89+
http request. For example, two Transfer-Encoding header fields. In this
90+
case Node.js identifies the first header field and ignores the second.
91+
This can lead to HTTP Request Smuggling
92+
(https://cwe.mitre.org/data/definitions/444.html).
93+
* **CVE-2020-1971**: OpenSSL - EDIPARTYNAME NULL pointer de-reference (High)
94+
This is a vulnerability in OpenSSL which may be exploited through Node.js.
95+
You can read more about it in
96+
https://www.openssl.org/news/secadv/20201208.txt
97+
98+
### Commits
99+
100+
* [[`5de5354918`](https://github.com/nodejs/node/commit/5de5354918)] - **deps**: update http-parser to http-parser@ec8b5ee63f (Richard Lau) [nodejs-private/node-private#236](https://github.com/nodejs-private/node-private/pull/236)
101+
* [[`2eacfbec68`](https://github.com/nodejs/node/commit/2eacfbec68)] - **deps**: upgrade npm to 6.14.10 (Ruy Adorno) [#36571](https://github.com/nodejs/node/pull/36571)
102+
* [[`96ec482d90`](https://github.com/nodejs/node/commit/96ec482d90)] - **deps**: update archs files for OpenSSL-1.1.1i (Myles Borins) [#36521](https://github.com/nodejs/node/pull/36521)
103+
* [[`7ec0eb408b`](https://github.com/nodejs/node/commit/7ec0eb408b)] - **deps**: upgrade openssl sources to 1.1.1i (Myles Borins) [#36521](https://github.com/nodejs/node/pull/36521)
104+
* [[`76ea9c5a7a`](https://github.com/nodejs/node/commit/76ea9c5a7a)] - **deps**: upgrade npm to 6.14.9 (Myles Borins) [#36450](https://github.com/nodejs/node/pull/36450)
105+
* [[`420244e4d9`](https://github.com/nodejs/node/commit/420244e4d9)] - **http**: unset `F_CHUNKED` on new `Transfer-Encoding` (Matteo Collina) [nodejs-private/node-private#236](https://github.com/nodejs-private/node-private/pull/236)
106+
* [[`4a30ac8c75`](https://github.com/nodejs/node/commit/4a30ac8c75)] - **http**: add test for http transfer encoding smuggling (Richard Lau) [nodejs-private/node-private#236](https://github.com/nodejs-private/node-private/pull/236)
107+
* [[`92d430917a`](https://github.com/nodejs/node/commit/92d430917a)] - **http**: unset `F_CHUNKED` on new `Transfer-Encoding` (Fedor Indutny) [nodejs-private/node-private#236](https://github.com/nodejs-private/node-private/pull/236)
108+
* [[`5b00de7d67`](https://github.com/nodejs/node/commit/5b00de7d67)] - **src**: retain pointers to WriteWrap/ShutdownWrap (James M Snell) [nodejs-private/node-private#230](https://github.com/nodejs-private/node-private/pull/230)
109+
69110
<a id="12.20.0"></a>
70111
## 2020-11-24, Version 12.20.0 'Erbium' (LTS), @mylesborins
71112

src/node_version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#define NODE_VERSION_IS_LTS 1
3030
#define NODE_VERSION_LTS_CODENAME "Erbium"
3131

32-
#define NODE_VERSION_IS_RELEASE 0
32+
#define NODE_VERSION_IS_RELEASE 1
3333

3434
#ifndef NODE_STRINGIFY
3535
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)

0 commit comments

Comments
 (0)