Vulnerability record · CVE-2021-22918 · published 12 July 2021
CVE-2021-22918: Nodejs node.js out-of-bounds read vulnerability
Nodejs · Node.Js
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().
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().
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf | PatchThird Party Advisory |
| https://hackerone.com/reports/1209681 | ExploitThird Party Advisory |
| https://nodejs.org/en/blog/vulnerability/july-2021-security-releases/ | PatchVendor Advisory |
| https://security.gentoo.org/glsa/202401-23 | |
| https://security.netapp.com/advisory/ntap-20210805-0003/ | Third Party Advisory |
| https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf | PatchThird Party Advisory |
| https://hackerone.com/reports/1209681 | ExploitThird Party Advisory |
| https://nodejs.org/en/blog/vulnerability/july-2021-security-releases/ | PatchVendor Advisory |
| https://security.gentoo.org/glsa/202401-23 | |
| https://security.netapp.com/advisory/ntap-20210805-0003/ | Third Party Advisory |
Track CVE-2021-22918 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-22918), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.