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?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2021-07-1211:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 16.x | ≥ 16.0.0, < 16.4.1 | 16.4.1 | NVD · OSV |
| 14.x | ≥ 14.0.0, < 14.17.2 | 14.17.2 | NVD · OSV |
| 12.x | ≥ 12.0.0, < 12.22.2 | 12.22.2 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.0 | < 1.0.1.1 | 1.0.1.1 | NVD |
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
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
Siemens SINEC INS
SINEC INS
SSA-389290: Third-Party Component Vulnerabilities in SINEC INS
SINEC INS
Red Hat Security Advisory: nodejs:12 security and bug fix update
Red Hat Security Advisory: nodejs:12 security and bug fix update
Red Hat Security Advisory: nodejs:14 security, bug fix, and enhancement update
4 more advisories
Fix
- Update Node.js to 16.4.1 · 14.17.2 · 12.22.2
- Vendor fix Siemens ProductCERT SSA-389290 · 1 productUpdate to V1.0.1.1 or later version
- Vendor fix CISA ICSA-22-069-09 · 1 productUpdate to V1.0.1.1 or later version
- 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
- No fix available, says the vendor Red Hat Product Security CVE-2021-22918 · 2 productsFix deferred
- No fix planned, says the vendor Red Hat Product Security CVE-2021-22918 · 1 productOut of support scope
- No fix planned, says the vendor Red Hat Product Security CVE-2021-22918 · 1 productWill not fix
Advisories and patches
- cert-portal.siemens.comPatch
- nodejs.orgPatch · Vendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- 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
- AZL-41581same flawAzure Linux · MIT
- BIT-node-2021-22918same flawBitnami · Apache-2.0
- BIT-node-min-2021-22918same flawBitnami · Apache-2.0
- EUVD-2021-10047same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-x3cj-3539-rcpxsame flawGitHub Advisory Database · CC-BY-4.0
- ALSA-2021:3073advisory covering several CVEsAlmaLinux · MIT
- ALSA-2021:3074advisory covering several CVEsAlmaLinux · MIT
- ALSA-2021:3075advisory covering several CVEsAlmaLinux · MIT
- DSA-4936-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2021-0360advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2021-1291advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2022-1933advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2021:1059-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2021:1060-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2021:1061-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2021:2327-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2021:2353-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2021:2354-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11007-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11096-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11097-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2021:2931advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:2932advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:3073advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:3074advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:3075advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:3638advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:3639advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2021:3073advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2021:3074advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2021:3075advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2021:2319-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:2323-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:2326-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:2327-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:2353-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:2354-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-5007-1advisory covering several CVEsUbuntu
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?
Is CVE-2021-22918 actively exploited?
What is the CVSS score for CVE-2021-22918?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-x3cj-3539-rcpx
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)