Skip to content

Commit

Permalink
2024-04-03, Version 21.7.2 (Current)
Browse files Browse the repository at this point in the history
This is a security release.

Notable changes:

deps:
  * update undici to 6.11.1 (node-js-github-bot) #52328
http:
  * do not allow OBS fold in headers by default (Paolo Insogna) nodejs-private/node-private#556
src:
  * ensure to close stream when destroying session (RafaelGSS) nodejs-private/node-private#561

PR-URL: nodejs-private/node-private#574
  • Loading branch information
marco-ippolito committed Apr 2, 2024
1 parent 3dfc10c commit d4a1d05
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 5 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Expand Up @@ -36,7 +36,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V21.md#21.7.1">21.7.1</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V21.md#21.7.2">21.7.2</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V21.md#21.7.1">21.7.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V21.md#21.7.0">21.7.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V21.md#21.6.2">21.6.2</a><br/>
<a href="doc/changelogs/CHANGELOG_V21.md#21.6.1">21.6.1</a><br/>
Expand Down
28 changes: 25 additions & 3 deletions doc/changelogs/CHANGELOG_V21.md
Expand Up @@ -8,6 +8,7 @@
</tr>
<tr>
<td>
<a href="#21.7.2">21.7.2</a><br/>
<a href="#21.7.1">21.7.1</a><br/>
<a href="#21.7.0">21.7.0</a><br/>
<a href="#21.6.2">21.6.2</a><br/>
Expand Down Expand Up @@ -46,6 +47,27 @@
* [io.js](CHANGELOG_IOJS.md)
* [Archive](CHANGELOG_ARCHIVE.md)

<a id="21.7.2"></a>

## 2024-04-03, Version 21.7.2 (Current), @RafaelGSS prepared by @marco-ippolito

This is a security release.

### Notable changes

* CVE-2024-27983 - Assertion failed in node::http2::Http2Session::\~Http2Session() leads to HTTP/2 server crash- (High)
* CVE-2024-27982 - HTTP Request Smuggling via Content Length Obfuscation- (Medium)
* llhttp version 9.2.1
* undici version 6.11.1

### Commits

* \[[`3dfc10c851`](https://github.com/nodejs/node/commit/3dfc10c851)] - **deps**: update undici to 6.11.1 (Node.js GitHub Bot) [#52328](https://github.com/nodejs/node/pull/52328)
* \[[`aceea1c5e7`](https://github.com/nodejs/node/commit/aceea1c5e7)] - **deps**: update undici to 6.10.2 (Node.js GitHub Bot) [#52227](https://github.com/nodejs/node/pull/52227)
* \[[`5f0f96b275`](https://github.com/nodejs/node/commit/5f0f96b275)] - **deps**: update llhttp to 9.2.0 (Node.js GitHub Bot) [#51719](https://github.com/nodejs/node/pull/51719)
* \[[`1a65e98e22`](https://github.com/nodejs/node/commit/1a65e98e22)] - **http**: do not allow OBS fold in headers by default (Paolo Insogna) [nodejs-private/node-private#556](https://github.com/nodejs-private/node-private/pull/556)
* \[[`3bd39fb474`](https://github.com/nodejs/node/commit/3bd39fb474)] - **src**: ensure to close stream when destroying session (RafaelGSS) [nodejs-private/node-private#561](https://github.com/nodejs-private/node-private/pull/561)

<a id="21.7.1"></a>

## 2024-03-08, Version 21.7.1 (Current), @targos
Expand Down Expand Up @@ -515,7 +537,7 @@ Node.js 21.6.0 comes with several fixes for the experimental permission model an
We're adding a new flag `--allow-addons` to enable addon usage when using the Permission Model.

```console
$ node --experimental-permission --allow-addons
node --experimental-permission --allow-addons
```

Contributed by Rafael Gonzaga in [#51183](https://github.com/nodejs/node/pull/51183)
Expand All @@ -524,7 +546,7 @@ And relative paths are now supported through the `--allow-fs-*` flags.
Therefore, with this release one can use:

```console
$ node --experimental-permission --allow-fs-read=./index.js
node --experimental-permission --allow-fs-read=./index.js
```

To give only read access to the entrypoint of the application.
Expand All @@ -536,7 +558,7 @@ Contributed by Rafael Gonzaga and Carlos Espa in [#50758](https://github.com/nod
We are adding a new flag `--build-snapshot-config` to configure snapshots through a custom JSON configuration file.

```console
$ node --build-snapshot-config=/path/to/myconfig.json
node --build-snapshot-config=/path/to/myconfig.json
```

When using this flag, additional script files provided on the command line will
Expand Down
2 changes: 1 addition & 1 deletion src/node_version.h
Expand Up @@ -29,7 +29,7 @@
#define NODE_VERSION_IS_LTS 0
#define NODE_VERSION_LTS_CODENAME ""

#define NODE_VERSION_IS_RELEASE 0
#define NODE_VERSION_IS_RELEASE 1

#ifndef NODE_STRINGIFY
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)
Expand Down

0 comments on commit d4a1d05

Please sign in to comment.