VULNERABILITY INTELLIGENCE

CVE-2021-22918

CVSS score5.3 MEDIUM
EPSS probability23.13%
CISA KEVNot currently listed
Published2021-07-12
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

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

Weakness classification

  • support@hackerone.com: CWE-125
  • nvd@nist.gov: CWE-125

Primary references