Skip to main content
MEDIUM

CVE-2021-22918

CVSS v3

5.3

MEDIUM

EPSS Score

23.1 %

exploit probability, as of 2026-10-17

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for node. Watch node in CVE Watch Free account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • nodeBitnamifrom 12.0.0 · fixed in 12.22.2and 1 other package
  • libuvAlmaLinux:8all versions · fixed in 1:1.41.1-1.el8_4and 1 other package
  • nodejs-nodemonAlmaLinux:8all versions · fixed in 2.0.3-1.module_el8.4.0+2521+c668cc9f
  • nodejs-packagingAlmaLinux:8all versions · fixed in 23-3.module_el8.4.0+2522+3bd42762

Vendor advisories

  • CVE-2021-22918 Red Hat Product Security231 products fixed · 4 known affected

    libuv: out-of-bounds read in uv__idna_toascii() can lead to information disclosures or crashes

    libuv.src as a component of A-MQ Clients 2 · libuv.src as a component of A-MQ Interconnect 1 · libuv.src as a component of Red Hat OpenStack Platform 13 (Queens) Operational Tools

  • ICSA-22-069-09 CISA1 known affected

    Siemens SINEC INS

    SINEC INS

  • SSA-389290 Siemens ProductCERT1 known affected

    SSA-389290: Third-Party Component Vulnerabilities in SINEC INS

    SINEC INS

  • RHSA-2021:3638 Red Hat Product Security30 products fixed

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

  • RHSA-2021:3639 Red Hat Product Security30 products fixed

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

  • RHSA-2021:3074 Red Hat Product Security30 products fixed

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

4 more advisories

Full record on NVD

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

Technical details

Published
2021-07-12

Frequently asked questions

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

Is CVE-2021-22918 actively exploited?

Active exploitation of CVE-2021-22918 has not been confirmed. Its EPSS score was 23.1% on 2026-10-17, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-22918?

CVE-2021-22918 has a CVSS v3 base score of 5.3 (MEDIUM severity).

Running node? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · 50 free checks/month · Free API key