{"id":"CVE-2021-22918","published":"2021-07-12T00:00:00Z","modified":"2025-04-30T22:24:33Z","title":"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…","vendor":"NodeJS","product":"Node","tier":"tail","description":{"text":"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().","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.23132,"percentile":0.97813,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://hackerone.com/reports/1209681","tags":[]},{"url":"https://nodejs.org/en/blog/vulnerability/july-2021-security-releases/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20210805-0003/","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","tags":[]},{"url":"https://security.gentoo.org/glsa/202401-23","tags":["vendor-advisory"]}],"priority":{"score":19.6,"factors":[{"name":"EPSS percentile","points":19.56}]},"vendorSlug":"nodejs","affectedVersions":[{"vendor":"NodeJS","product":"Node","versions":[">= 4.0, < 4.*",">= 5.0, < 5.*",">= 6.0, < 6.*",">= 7.0, < 7.*",">= 8.0, < 8.*",">= 9.0, < 9.*",">= 10.0, < 10.*",">= 11.0, < 11.*",">= 12.0, < 12.22.2",">= 13.0, < 13.*"]}],"summary":{"text":"The flaw is an out-of-bounds read in the uv__idna_toascii() function, which converts strings to ASCII, in Node.js versions before 16.4.1, 14.17.2 and 12.22.2. Its pointer p is read and advanced without being checked against the buffer end pe, and the function can be reached through uv_getaddrinfo().","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:42:48Z"},"euvd":{"id":"EUVD-2021-10047","exploited":false,"provenance":"source"}}