Alpine: nodejs: security update to 12.22.2-r0

medium Tenable Self-Hosted Container Security Plugin ID 405798

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Node.js before 16.4.1, 14.17.2, 12.22.2 is vulnerable to an out-of-bounds read when uv__idna_toascii() is
used to convert strings to ASCII. The pointer p is read and increased without checking whether it is
beyond pe, with the latter holding a pointer to the end of the buffer. This can lead to information
disclosures or crashes. This function can be triggered via uv_getaddrinfo(). (CVE-2021-22918)

See Also

https://security.alpinelinux.org/vuln/CVE-2021-22918

Plugin Details

Severity: Medium

ID: 405798

Version: Revision 1.25

Type: Local

Published: 10/31/2023

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

CVSS Score Source: CVE-2021-22918

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.8

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 7/1/2021

Reference Information

CVE: CVE-2021-22918