Node.js Security Release Summary - January 2022 - NodeSource

The NodeSource Blog

You have reached the beginning of time!

Announcing N|Solid v4.6.3.

IMPORTANT: This release of N|Solid v4.6.3 contains a Node.js security release!

NodeSource is excited to announce N|Solid v4.6.1 which contains the following changes:

  • Node.js v12.22.9 (LTS): Includes a Node.js security release captured in Node.js v12.22.9 (LTS).

  • Node.js v14.18.3 (LTS): Includes a Node.js security release captured in Node.js v14.18.3 (LTS).

  • Node.js v16.13.2 (LTS): Includes a Node.js security release captured in Node.js v16.13.2 (LTS).

For detailed information on installing and using N|Solid, please refer to the N|Solid User Guide.

Changes

This release includes patches for these vulnerabilities:

  • CVE-2021-44531: Improper handling of URI Subject Alternative Names (Medium) 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. 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. More details will be available at CVE-2021-44531 after publication.

  • CVE-2021-44532: Certificate Verification Bypass via String Injection (Medium) 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. 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. More details will be available at CVE-2021-44532 after publication.

  • CVE-2021-44533: Incorrect handling of certificate subject and issuer fields (Medium) 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. 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. More details will be available at CVE-2021-44533 after publication.

  • CVE-2022-21824: Prototype pollution via console.table properties (Low) 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. Versions of Node.js with the fix for this use a null prototype for the object these properties are being assigned to. More details will be available at CVE-2022-21824 after publication.

There are three available LTS Node.js versions for you to use with N|Solid, Node.js 16 Gallium, Node.js 14 Fermium, and Node.js 12 Erbium.

  • N|Solid v4.6.3 Erbium ships with Node.js v12.22.9. The Node.js 12 Erbium LTS release line will continue to be supported until April 30, 2022.
  • N|Solid v4.6.3 Fermium ships with Node.js v14.18.3.The Node.js 14 Fermium LTS release line will continue to be supported until April 30, 2023.
  • N|Solid v4.6.3 Gallium ships with Node.js v16.13.2.The Node.js 16 Gallium LTS release line will continue to be supported until April 30, 2024.

Need a helping hand?

If you have any questions, please feel free to contact us at info@nodesource.com.

To get the best out of Node.js, try [N|Solid]now! (https://nodesource.com/products/nsolid)., an augmented version of the Node.js runtime, enhanced to deliver low-impact performance insights and greater security for mission-critical Node.js applications. #KnowYourNode

The NodeSource platform offers a high-definition view of the performance, security and behavior of Node.js applications and functions.

Start for Free