ADVISORIES

Vulnerability

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

42 advisories report this vulnerability, across 13 ecosystems.

Advisories in Red Hat

  • RHSA-2021:2931

    Red Hat Security Advisory: rh-nodejs12-nodejs and rh-nodejs12-nodejs-nodemon security update

    CVE-2021-22918CVE-2021-23362CVE-2021-27290CVE-2021-33502 Red Hat Updated 26 November 2026
  • RHSA-2021:2932

    Red Hat Security Advisory: rh-nodejs14-nodejs and rh-nodejs14-nodejs-nodemon security update

    CVE-2021-22918CVE-2021-23362CVE-2021-27290CVE-2021-33502 Red Hat Updated 26 November 2026
  • RHSA-2021:3073

    Red Hat Security Advisory: nodejs:12 security, bug fix, and enhancement update

    CVE-2021-22918CVE-2021-23362CVE-2021-27290 Red Hat Updated 25 November 2026
  • RHSA-2021:3074

    Red Hat Security Advisory: nodejs:14 security, bug fix, and enhancement update

    CVE-2021-22918CVE-2021-23362CVE-2021-27290 Red Hat Updated 25 November 2026
  • RHSA-2021:3075

    Red Hat Security Advisory: libuv security update

    CVE-2021-22918 Red Hat Updated 26 November 2026
  • RHSA-2021:3638

    Red Hat Security Advisory: nodejs:12 security and bug fix update

    CVE-2021-22918CVE-2021-22930CVE-2021-22931CVE-2021-22939 Red Hat Updated 25 November 2026
  • RHSA-2021:3639

    Red Hat Security Advisory: nodejs:12 security and bug fix update

    CVE-2021-22918CVE-2021-22930CVE-2021-22931CVE-2021-22939 Red Hat Updated 25 November 2026

References