Skip to content
Not rated

CVE-2021-22918 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…

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().

Affected products and versions

Product Affected versions Fixed in
Node 16.0 16.0 → < 16.4.1 16.4.1
Node 15.0 15.0 → latest No fix stated
Node 14.0 14.0 → < 14.17.2 14.17.2
Node 13.0 13.0 → latest No fix stated
Node 12.0 12.0 → < 12.22.2 12.22.2
Node 11.0 11.0 → latest No fix stated
Node 10.0 10.0 → latest No fix stated
Node 9.0 9.0 → latest No fix stated
Node 8.0 8.0 → latest No fix stated
Show the 4 other branches
Product Affected versions Fixed in
Node 7.0 7.0 → latest No fix stated
Node 6.0 6.0 → latest No fix stated
Node 5.0 5.0 → latest No fix stated
Node 4.0 4.0 → latest No fix stated

References

Timeline

  1. Published
  2. Last modified
The 129 CVEs of Node →
Track this CVE