CVE-2021-22931 Code injection in Node
Attackers can execute code or hijack domains via DNS response injection in Node.js due to missing hostname validation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-22931?
CVE-2021-22931 is a critical code injection vulnerability in Netapp Active Iq Unified Manager, published on 16 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2021-22931?
2 open source packages ship an affected version, including node and node-min. It affects 10 products.
| Package | Affected | Fixed in |
|---|---|---|
node Bitnami | From 12.0.0 | 12.12.1, 12.22.5, 14.14.1, 14.17.5, 16.6.2 |
node-min Bitnami | From 12.0.0 | 12.12.1, 12.22.5, 14.14.1, 14.17.5, 16.6.2 |
Products include Netapp Active Iq Unified Manager, Netapp Nextgen Api, Netapp Oncommand Insight, Netapp Oncommand Workflow Automation, Netapp Snapcenter, Nodejs Node.js and 4 more.
How do I fix CVE-2021-22931?
Upgrade node to a fixed version for your release line: 12.12.1, 12.22.5, 14.14.1 or 14.17.5.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2021-22931 being exploited?
There is no known exploitation of CVE-2021-22931 in the wild and no public exploit code.
Other vulnerabilities in Netapp Active Iq Unified Manager
Sources
Also known as ALPINE-CVE-2021-22931, AZL-32282, AZL-6743, BIT-node-2021-22931, BIT-node-min-2021-22931, CLEANSTART-2026-EB92490 and 2 more.