Alpine: multiple nodejs packages: security update to 16.13.1-r1 (deprecated)

high Tenable Self-Hosted Container Security Plugin ID 400036

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- 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 < 12.22.9, < 14.18.3,
< 16.13.2, and < 17.3.1 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. (CVE-2021-44531)

- Node.js < 12.22.9, < 14.18.3, < 16.13.2, and < 17.3.1 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. (CVE-2021-44532)

- Node.js < 12.22.9, < 14.18.3, < 16.13.2, and < 17.3.1 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 that 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. (CVE-2021-44533)

- 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 to numerical keys of the object
prototype.Node.js >= 12.22.9, >= 14.18.3, >= 16.13.2, and >= 17.3.1 use a null protoype for the object
these properties are being assigned to. (CVE-2022-21824)

See Also

https://git.alpinelinux.org/aports/commit/?id=19c80bd9826db6fdb72870b62f8b276028731702

https://git.alpinelinux.org/aports/commit/?id=e52c4b2631673f61417830046bbb6b97b04eb634

Plugin Details

Severity: High

ID: 400036

Version: Revision 1.40

Type: Local

Published: 1/31/2022

Updated: 10/31/2024

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.37

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:P

CVSS Score Source: CVE-2022-21824

CVSS v3

Risk Factor: High

Base Score: 8.2

Temporal Score: 7.4

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/11/2022

Vulnerability Publication Date: 1/11/2022

Reference Information

CVE: CVE-2021-44531, CVE-2021-44532, CVE-2021-44533, CVE-2022-21824