Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2021-22931: Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to Remote Code Execution, XSS, Application crashes d

72
This week
CRITICAL 9.8REMOTEUPGRADEMITIGATEMITIGATE

CVE-2021-22931 is a critical-severity flaw (CVSS 9.8) affecting node.js, active iq unified manager, active iq unified manager. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Critical severity
  • EPSS top 2%: very likely to be exploited
  • Public exploit reference
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance22.0% (top 2%)
CISA exploited listNo
WeaknessCWE-170, CWE-20
Published2021-08-16
Last modified2026-06-17
Publisher (CNA): HackerOne · Vendor: netapp · nodejs

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

nodejs node.js UPGRADE
Affected: >= 12.0.0 and <= 12.12.0 · >= 12.13.0 and < 12.22.5 · >= 14.0.0 and <= 14.14.0 · >= 14.15.0 and < 14.17.5 · >= 16.0.0 and < 16.6.2
Fixed in: 12.22.5, 14.17.5, 16.6.2
Safe to downgrade to: a release before 12.0.0
1. Check installed version
apt-cache policy node.js || rpm -q node.js || node.js --version
2. UPGRADE to 12.22.5 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade node.js
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade node.js
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 12.0.0 (Debian / Ubuntu)
apt-cache madison node.js sudo apt install node.js=<VERSION_BEFORE_12.0.0> sudo apt-mark hold node.js
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list node.js sudo dnf downgrade node.js-<VERSION_BEFORE_12.0.0> sudo dnf versionlock add node.js
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
netapp active iq unified manager MITIGATE
Affected: all versions
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy active-iq-unified-manager || rpm -q active-iq-unified-manager || active-iq-unified-manager --version
No fixed or unaffected release known
Apply the vendor mitigation from the advisory, disable the affected feature, or restrict network access.
netapp active iq unified manager MITIGATE
Affected: all versions
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy active-iq-unified-manager || rpm -q active-iq-unified-manager || active-iq-unified-manager --version
No fixed or unaffected release known
Apply the vendor mitigation from the advisory, disable the affected feature, or restrict network access.
netapp nextgen api MITIGATE
Affected: all versions
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy nextgen-api || rpm -q nextgen-api || nextgen-api --version
No fixed or unaffected release known
Apply the vendor mitigation from the advisory, disable the affected feature, or restrict network access.
netapp oncommand insight MITIGATE
Affected: all versions
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy oncommand-insight || rpm -q oncommand-insight || oncommand-insight --version
No fixed or unaffected release known
Apply the vendor mitigation from the advisory, disable the affected feature, or restrict network access.
netapp oncommand workflow automation MITIGATE
Affected: all versions
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy oncommand-workflow-automation || rpm -q oncommand-workflow-automation || oncommand-workflow-automation --version
No fixed or unaffected release known
Apply the vendor mitigation from the advisory, disable the affected feature, or restrict network access.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Fedora 46 · librepo · FIXED · 1.21.3-1.fc46 · FEDORA-2026-c502136ca7 · source
sudo dnf upgrade --advisory=FEDORA-2026-c502136ca7
Ubuntu 22.04 · nodejs · NOT AFFECTED
Ubuntu 20.04 · nodejs · NOT AFFECTED
Debian 12 · nodejs · NOT AFFECTED
Debian 13 · nodejs · NOT AFFECTED
RHEL 8 · nodejs:16/nodejs · NOT AFFECTED
RHEL 9 · nodejs · NOT AFFECTED
Alpine 3.20 · nodejs · FIXED · nodejs-14.17.5-r0
apk add --upgrade nodejs apk info -v nodejs
Alpine 3.20 · nodejs-current · FIXED · nodejs-current-16.6.2-r0
apk add --upgrade nodejs-current apk info -v nodejs-current
Alpine 3.21 · nodejs · FIXED · nodejs-14.17.5-r0
apk add --upgrade nodejs apk info -v nodejs
Alpine 3.21 · nodejs-current · FIXED · nodejs-current-16.6.2-r0
apk add --upgrade nodejs-current apk info -v nodejs-current

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2021-22931?

node.js: upgrade to 12.22.5, 14.17.5, 16.6.2; active iq unified manager: mitigate or apply the listed mitigation; active iq unified manager: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2021-22931 being exploited?

CVE-2021-22931 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2021-22931 affect?

CVE-2021-22931 affects node.js, active iq unified manager, active iq unified manager. Severity is critical (CVSS 9.8). 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 wr

How urgent is CVE-2021-22931?

Priority 72/100. Critical severity; EPSS top 2%: very likely to be exploited; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action

Software pages

Node.js vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.