CVE-2021-22918

Severity CVSS v4.0:
Pending analysis
Type:
CWE-125 Out-of-bounds Read
Publication date:
12/07/2021
Last modified:
16/01/2024

Description

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().

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* 12.0.0 (including) 12.22.2 (excluding)
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* 14.0.0 (including) 14.17.2 (excluding)
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* 16.0.0 (including) 16.4.1 (excluding)
cpe:2.3:a:siemens:sinec_infrastructure_network_services:*:*:*:*:*:*:*:* 1.0.1.1 (excluding)