🛡️ CVE-2021-22931 — node
Description
Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to Remote Code Execution, XSS, Application crashes due to missing input validation of host names returned by Domain Name Servers in Node.js dns library which can lead to output of wrong hostnames (leading to Domain Hijacking) and injection vulnerabilities in applications using the library.
Affected software
CVE-2021-22931 is recorded against 2 packages.
- node
- node-min
Timeline and source
Published on 6 March 2024 and last revised on 3 April 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
cert-portal.siemens.com (Web)
hackerone.com (Web)
nodejs.org (Web)
security.gentoo.org (Web)
security.netapp.com (Web)
security.netapp.com (Web)
www.oracle.com (Web)
www.oracle.com (Web)
www.oracle.com (Web)
nvd.nist.gov (Web)
CVE-2021-22931 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| node | — | — |
| node-min | — | — |
References
Similar Threats
- High CVE-2020-10531
- High CVE-2020-11080
- High CVE-2020-8172
- High CVE-2020-8174
- High CVE-2020-8251
Exploit Protection
Are you running node?
CVE-2021-22931 carries CVSS 9.5 Critical rating. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.
Check My Site For CVE-2021-22931 →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.