Skip to main content
No exploitation reportedFix available

CVE-2021-22918

No exploitation reported by the sources we read.

  • Published2021-07-12
  • Fixed in16.4.1 · 14.17.2 · 12.22.2
  • WeaknessCWE-125

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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

Timeline

dates in UTC
  1. 2021-07-1211:15CVE publishedNVD

Versions per branch

NVD · OSV
Node.js
BranchAffectedFixed in
16.x≥ 16.0.0, < 16.4.116.4.1
14.x≥ 14.0.0, < 14.17.214.17.2
12.x≥ 12.0.0, < 12.22.212.22.2
Siemens sinec infrastructure network services
BranchAffectedFixed in
1.0< 1.0.1.11.0.1.1

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

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

  • libuvRocky Linux:8all versions · fixed in 1:1.41.1-1.el8_4
  • libuvRed Hat:enterprise_linux:8::appstreamall versions · fixed in 1:1.41.1-1.el8_4and 2 other packages
  • libuvopenSUSE:Tumbleweedall versions · fixed in 1.42.0-1.2
  • libuvMageia:8all versions · fixed in 1.40.0-1.1.mga8
  • libuvAlmaLinux:8all versions · fixed in 1:1.41.1-1.el8_4and 1 other package
  • libuv-develRed Hat:enterprise_linux:8::crball versions · fixed in 1:1.41.1-1.el8_4and 2 other packages
  • libuv1Ubuntu:20.04:LTSall versions · fixed in 1.34.2-1ubuntu1.3
  • libuv1Debian:14all versions · fixed in 1.40.0-2

75 more package ranges on OSV.dev

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 · +1 more

  • 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

Fix

  1. Update Node.js to 16.4.1 · 14.17.2 · 12.22.2
  2. Vendor fix Siemens ProductCERT SSA-389290 · 1 productUpdate to V1.0.1.1 or later version
  3. Vendor fix CISA ICSA-22-069-09 · 1 productUpdate to V1.0.1.1 or later version
  4. Vendor fix Red Hat Product Security RHSA-2021:3638 · 30 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  5. No fix available, says the vendor Red Hat Product Security CVE-2021-22918 · 2 productsFix deferred
  6. No fix planned, says the vendor Red Hat Product Security CVE-2021-22918 · 1 productOut of support scope
  7. No fix planned, says the vendor Red Hat Product Security CVE-2021-22918 · 1 productWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVSS 3.15.3read 2026-10-23
  • NVDCVSS 2.05read 2026-10-23
  • CNAweakness (CWE)CWE-125known since 2026-10-23
  • NVDweakness (CWE)CWE-125read 2026-10-23
  • FIRST EPSSEPSS score23.1 %read 2026-12-04
  • OSVaffected packages—
  • GitHub Advisoriesadvisory—

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Published
2021-07-12
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-x3cj-3539-rcpx

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-12-04, 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), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.

Running Node.js? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record