CVEvulnerability

CVE-2021-22918

5.3 MEDIUM Published 2021-07-12 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-07-12
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
Weaknesses
CWE-125

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

Affected configurations

• nodejs node.js (>= 12.0.0 < 12.22.2) • nodejs node.js (>= 14.0.0 < 14.17.2) • nodejs node.js (>= 16.0.0 < 16.4.1) • siemens sinec infrastructure network services (< 1.0.1.1)

Related

Weakness · CWE (1)

  • CWE-125 Out-of-bounds Read weakness

References