{"id":"UBUNTU-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().","modified":"2026-04-22T12:48:04.594997Z","published":"2021-07-02T00:00:00Z","related":["USN-5007-1"],"upstream":["CVE-2021-22918"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-22918"},{"type":"REPORT","url":"https://nodejs.org/en/blog/vulnerability/july-2021-security-releases/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5007-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-22918"}],"affected":[{"package":{"name":"libuv1","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libuv1@1.34.2-1ubuntu1.3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.34.2-1ubuntu1.3"}]}],"versions":["1.30.1-1","1.33.1-2","1.33.1-2ubuntu2","1.33.1-3ubuntu1","1.34.2-1ubuntu1","1.34.2-1ubuntu1.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.34.2-1ubuntu1.3","binary_name":"libuv1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-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"},{"type":"Ubuntu","score":"medium"}]}