{"id":"CVE-2021-22918","details":"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().","aliases":["BIT-node-2021-22918","BIT-node-min-2021-22918"],"modified":"2026-04-16T04:31:06.835692080Z","published":"2021-07-12T11:15:07.937Z","related":["ALSA-2021:3073","ALSA-2021:3074","ALSA-2021:3075","SUSE-SU-2021:2319-1","SUSE-SU-2021:2323-1","SUSE-SU-2021:2326-1","SUSE-SU-2021:2327-1","SUSE-SU-2021:2353-1","SUSE-SU-2021:2354-1","openSUSE-SU-2021:1059-1","openSUSE-SU-2021:1060-1","openSUSE-SU-2021:1061-1","openSUSE-SU-2021:2327-1","openSUSE-SU-2021:2353-1","openSUSE-SU-2021:2354-1","openSUSE-SU-2024:11007-1","openSUSE-SU-2024:11096-1","openSUSE-SU-2024:11097-1"],"references":[{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202401-23"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210805-0003/"},{"type":"FIX","url":"https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf"},{"type":"FIX","url":"https://nodejs.org/en/blog/vulnerability/july-2021-security-releases/"},{"type":"EVIDENCE","url":"https://hackerone.com/reports/1209681"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nodejs/node","events":[{"introduced":"2f45ad8060e13d5ac912335096d21526f2f9602b"},{"fixed":"4eb2de9a776873d0475db611a8e7cba716afdf6b"},{"introduced":"73aa21658dfa6a22c06451d080152b32b1f98dbe"},{"fixed":"8ef3b0fc59370c90d885a6d1bc516af0a63f9962"},{"introduced":"7162e686b18d22b4385fa5c04274fb04dbd810c7"},{"fixed":"4f0a4bf82e2100a5ababc2ab2032fa807dc338e9"}],"database_specific":{"versions":[{"introduced":"12.0.0"},{"fixed":"12.22.2"},{"introduced":"14.0.0"},{"fixed":"14.17.2"},{"introduced":"16.0.0"},{"fixed":"16.4.1"}]}}],"versions":["v12.0.0","v12.1.0","v12.10.0","v12.11.0","v12.11.1","v12.12.0","v12.13.0","v12.13.1","v12.14.0","v12.14.1","v12.15.0","v12.16.0","v12.16.1","v12.16.2","v12.16.3","v12.17.0","v12.18.0","v12.18.1","v12.18.2","v12.18.3","v12.18.4","v12.19.0","v12.19.1","v12.2.0","v12.20.0","v12.20.1","v12.20.2","v12.21.0","v12.22.0","v12.22.1","v12.3.0","v12.3.1","v12.4.0","v12.5.0","v12.6.0","v12.7.0","v12.8.0","v12.8.1","v12.9.0","v12.9.1","v14.0.0","v14.1.0","v14.10.0","v14.10.1","v14.11.0","v14.12.0","v14.13.0","v14.13.1","v14.14.0","v14.15.0","v14.15.1","v14.15.2","v14.15.3","v14.15.4","v14.15.5","v14.16.0","v14.16.1","v14.17.0","v14.17.1","v14.2.0","v14.3.0","v14.4.0","v14.5.0","v14.6.0","v14.7.0","v14.8.0","v14.9.0","v16.0.0","v16.1.0","v16.2.0","v16.3.0","v16.4.0"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"fixed":"1.0.1.1"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22918.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}