Vulnerability CVE-2021-22918: Information

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

Severity: MEDIUM (5.3) Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Published: July 12, 2021
Modified: Jan. 16, 2024
Error type identifier: CWE-125

Fixed packages

References to Advisories, Solutions, and Tools

    1. Configuration 1

      cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
      Start including
      16.0.0
      End excliding
      16.4.1

      cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
      Start including
      14.0.0
      End excliding
      14.17.2

      cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
      Start including
      12.0.0
      End excliding
      12.22.2

      Configuration 2

      cpe:2.3:a:siemens:sinec_infrastructure_network_services:*:*:*:*:*:*:*:*
      End excliding
      1.0.1.1