---
title: "CVE-2021-22931: NodeJS Node Vulnerability"
publisher: SpecStream
source: "CVE Program (CVEProject cvelistV5)"
source_url: "https://github.com/CVEProject/cvelistV5"
---

# CVE-2021-22931: NodeJS Node Vulnerability

SpecStream dataset, built from [CVE Program (CVEProject cvelistV5)](https://github.com/CVEProject/cvelistV5), updated December 6, 2026.

CVE-2021-22931 is a published software vulnerability affecting NodeJS Node. Published August 16, 2021 by hackerone. 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.

[CVE Vulnerabilities](/data/cve)

SpecStream is the live web data engine for teams and agents.

- CVE ID: CVE-2021-22931
- Status: Published
- Affected vendor: NodeJS
- Affected product: Node
- Assigner CNA: hackerone
- Published date: August 16, 2021
- Last updated: April 30, 2025
- Weakness (CWE): Improper Null Termination (CWE-170)

## Vulnerability data and live monitoring

Query CVE feeds, affected software packages and severity updates through the SpecStream API or export structured CSV files.

- [https://specstream.ai/data/cve](https://specstream.ai/data/cve)
- [https://specstream.ai/signup?src=cve-vulnerabilities](https://specstream.ai/signup?src=cve-vulnerabilities)

CVE Terms of Use (Public Vulnerability Records).

## Access via API, MCP, or CSV

Query live web and register data via the SpecStream Search API ($1 per 1,000 fast searches), Extract API ($0.80 per 1,000 Markdown pages), or MCP server (`npx -y @specstream/mcp-server`). Start with [$2 free API credit (no card)](https://specstream.ai/signup) or unlock 5,000 CSV rows/mo plus $49 API credit with the [Monthly Pro Pass ($49/mo)](https://specstream.ai/v1/billing/credit-plans/checkout?plan=starter).

Free to quote with credit and a link. Copying in bulk needs a [data licence](https://specstream.ai/data/licence).

## Business lists in the United States

- [Bed and breakfasts in the United States](https://specstream.ai/data/businesses/bed-and-breakfasts/united-states)
- [B2B oil and gas exploration and development companies in the United States](https://specstream.ai/data/businesses/b2b-oil-and-gas-exploration-and-development-companies/united-states)
- [Australian restaurants in the United States](https://specstream.ai/data/businesses/australian-restaurants/united-states)
- [Agricultural services in the United States](https://specstream.ai/data/businesses/agricultural-services/united-states)
- [Web hosting companies in the United States](https://specstream.ai/data/businesses/web-hosting-companies/united-states)
- [Uniform stores in the United States](https://specstream.ai/data/businesses/uniform-stores/united-states)
