|
11 | 11 | </tr> |
12 | 12 | <tr> |
13 | 13 | <td valign="top"> |
| 14 | +<a href="#14.18.3">14.18.3</a><br/> |
14 | 15 | <a href="#14.18.2">14.18.2</a><br/> |
15 | 16 | <a href="#14.18.1">14.18.1</a><br/> |
16 | 17 | <a href="#14.18.0">14.18.0</a><br/> |
|
68 | 69 | * [io.js](CHANGELOG_IOJS.md) |
69 | 70 | * [Archive](CHANGELOG_ARCHIVE.md) |
70 | 71 |
|
| 72 | +<a id="14.18.3"></a> |
| 73 | +## 2022-01-10, Version 14.18.3 'Fermium' (LTS), @richardlau |
| 74 | + |
| 75 | +This is a security release. |
| 76 | + |
| 77 | +### Notable changes |
| 78 | + |
| 79 | +#### Improper handling of URI Subject Alternative Names (Medium)(CVE-2021-44531) |
| 80 | + |
| 81 | +Accepting arbitrary Subject Alternative Name (SAN) types, unless a PKI is specifically defined to use a particular SAN type, can result in bypassing name-constrained intermediates. Node.js was accepting URI SAN types, which PKIs are often not defined to use. Additionally, when a protocol allows URI SANs, Node.js did not match the URI correctly. |
| 82 | + |
| 83 | +Versions of Node.js with the fix for this disable the URI SAN type when checking a certificate against a hostname. This behavior can be reverted through the `--security-revert` command-line option. |
| 84 | + |
| 85 | +More details will be available at [CVE-2021-44531](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44531) after publication. |
| 86 | + |
| 87 | +#### Certificate Verification Bypass via String Injection (Medium)(CVE-2021-44532) |
| 88 | + |
| 89 | +Node.js converts SANs (Subject Alternative Names) to a string format. It uses this string to check peer certificates against hostnames when validating connections. The string format was subject to an injection vulnerability when name constraints were used within a certificate chain, allowing the bypass of these name constraints. |
| 90 | + |
| 91 | +Versions of Node.js with the fix for this escape SANs containing the problematic characters in order to prevent the injection. This behavior can be reverted through the `--security-revert` command-line option. |
| 92 | + |
| 93 | +More details will be available at [CVE-2021-44532](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44532) after publication. |
| 94 | + |
| 95 | +#### Incorrect handling of certificate subject and issuer fields (Medium)(CVE-2021-44533) |
| 96 | + |
| 97 | +Node.js did not handle multi-value Relative Distinguished Names correctly. Attackers could craft certificate subjects containing a single-value Relative Distinguished Name that would be interpreted as a multi-value Relative Distinguished Name, for example, in order to inject a Common Name that would allow bypassing the certificate subject verification. |
| 98 | + |
| 99 | +Affected versions of Node.js do not accept multi-value Relative Distinguished Names and are thus not vulnerable to such attacks themselves. However, third-party code that uses node's ambiguous presentation of certificate subjects may be vulnerable. |
| 100 | + |
| 101 | +More details will be available at [CVE-2021-44533](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44533) after publication. |
| 102 | + |
| 103 | +#### Prototype pollution via `console.table` properties (Low)(CVE-2022-21824) |
| 104 | + |
| 105 | +Due to the formatting logic of the `console.table()` function it was not safe to allow user controlled input to be passed to the `properties` parameter while simultaneously passing a plain object with at least one property as the first parameter, which could be `__proto__`. The prototype pollution has very limited control, in that it only allows an empty string to be assigned numerical keys of the object prototype. |
| 106 | + |
| 107 | +Versions of Node.js with the fix for this use a null protoype for the object these properties are being assigned to. |
| 108 | + |
| 109 | +More details will be available at [CVE-2022-21824](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21824) after publication. |
| 110 | + |
| 111 | +Thanks to Patrik Oldsberg (rugvip) for reporting this vulnerability. |
| 112 | + |
| 113 | +### Commits |
| 114 | + |
| 115 | +* \[[`e2a74f3c99`](https://github.com/nodejs/node/commit/e2a74f3c99)] - **console**: fix prototype pollution via console.table (Tobias Nießen) [nodejs-private/node-private#307](https://github.com/nodejs-private/node-private/pull/307) |
| 116 | +* \[[`df1b2c33f6`](https://github.com/nodejs/node/commit/df1b2c33f6)] - **crypto,tls**: implement safe x509 GeneralName format (Tobias Nießen and Akshay Kumar) [nodejs-private/node-private#300](https://github.com/nodejs-private/node-private/pull/300) |
| 117 | +* \[[`9f2c52617f`](https://github.com/nodejs/node/commit/9f2c52617f)] - **src**: add cve reverts and associated tests (Michael Dawson and Akshay Kumar) [nodejs-private/node-private#300](https://github.com/nodejs-private/node-private/pull/300) |
| 118 | +* \[[`b14be42518`](https://github.com/nodejs/node/commit/b14be42518)] - **src**: remove unused x509 functions (Tobias Nießen and Akshay Kumar) [nodejs-private/node-private#300](https://github.com/nodejs-private/node-private/pull/300) |
| 119 | +* \[[`83d8f880bb`](https://github.com/nodejs/node/commit/83d8f880bb)] - **tls**: fix handling of x509 subject and issuer (Tobias Nießen and Akshay Kumar) [nodejs-private/node-private#300](https://github.com/nodejs-private/node-private/pull/300) |
| 120 | +* \[[`461a0c674b`](https://github.com/nodejs/node/commit/461a0c674b)] - **tls**: drop support for URI alternative names (Tobias Nießen and Akshay Kumar) [nodejs-private/node-private#300](https://github.com/nodejs-private/node-private/pull/300) |
| 121 | + |
71 | 122 | <a id="14.18.2"></a> |
72 | 123 | ## 2021-11-30, Version 14.18.2 'Fermium' (LTS), @richardlau |
73 | 124 |
|
|