Vulnerabilities · 2021 · Nodejs
CVE-2021-22918
Nodejs Node.js vulnerability
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 products
Node.js, Sinec Infrastructure Network Services. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nodejs Node.js runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- nodejs.org/en/blog/vulnerability/july-2021-security-releases/ · Patch
- cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf · Patch
- hackerone.com/reports/1209681 · Exploit
- security.netapp.com/advisory/ntap-20210805-0003/ · Third Party Advisory
- security.gentoo.org/glsa/202401-23
- nvd.nist.gov/vuln/detail/CVE-2021-22918
- cve.org/CVERecord?id=CVE-2021-22918
More vulnerabilities in Nodejs products
CVE-2026-22036CVE-2026-21637CVE-2026-21636CVE-2025-59466CVE-2025-59465CVE-2025-59464CVE-2025-55132CVE-2025-55130All 154
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.