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 due to missing input validation of host names returned by Domain Name Servers in Node.js...
CVE-2021-22931 is an input validation in Nodejs Node.js (CVSS 9.8, Critical).
Exploitation likely. EPSS gives it a 22% chance of exploitation in the next 30 days. Fixed versions are out.
No public exploit knownFix5 products5 fixed builds listed below
e.g. Node.js DNS Library Hostname Validation RCE, XSS, and Domain Hijacking · OID 1.3.6.1.4.1.25623.1.0.117724
What to do
Find your product and version, then upgrade to the build on the right.
- NodeJS NodeAffected: ≥ 4.0, < 4.*Upgrade to: 4.*Affected: ≥ 5.0, < 5.*Upgrade to: 5.*Affected: ≥ 6.0, < 6.*Upgrade to: 6.*Affected: ≥ 7.0, < 7.*Upgrade to: 7.* + 9 more branchesStated by: CVE record
- Nodejs Node.jsAffected: ≥ 12.0.0, ≤ 12.12.0Upgrade to: after 12.12.0Stated by: NVD
- Oracle Mysql ClusterAffected: ≤ 8.0.26Upgrade to: after 8.0.26Stated by: NVD
- Siemens Sinec Infrastructure Network ServicesAffected: < 1.0.1.1Upgrade to: 1.0.1.1Stated by: NVD
- Open-source community Debian GNU/LinuxAffected: 9Upgrade to: not statedStated by: BDU
Versions as the sources state them. 3 more products have version data. Full version matrix after sign-in
SeguriScan is made by IntruForce, a cybersecurity company in Madrid, Spain. Links open intruforce.com.
What it is
From the CVE record
71 vulnerabilities in third-party components as Node.js, cURL, SQLite, CivetWeb and DNS(ISC BIND) could allow an attacker to interfere with the affected product in various ways. Siemens has released an update for SINEC INS and recommends to update to the latest versions.
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
22% chance of exploitation activity in the next 30 days, which ranks it in the 98th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
8 events over 1774 days, from the signal feeds we watch.
- OpenVAS check added
- EPSS band changelow → moderate
- Nuclei check added
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
And 1 more affected product. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored 9.8 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
- Initial AccessT1190Exploit Public-Facing Applicationlow confidence
Sources
References in the record
- cert-portal.siemens.com/productcert/csaf/ssa-389290.json
- cert-portal.siemens.com/productcert/txt/ssa-389290.txt
- cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
And 94 more references. See all after sign-in
Questions about CVE-2021-22931
- Is CVE-2021-22931 being exploited?
- No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 22%.
- Which versions are affected by CVE-2021-22931?
- Node: ≥ 4.0, < 4.*; ≥ 5.0, < 5.*; ≥ 6.0, < 6.*. Node.js: ≥ 12.0.0, ≤ 12.12.0. MySQL Cluster: ≤ 8.0.26. 5 more products are listed in the record.
- How do I fix or mitigate CVE-2021-22931?
- Upgrade to a fixed build for your product branch: 4.*, 5.*, 6.*, 7.*. The advisory is on nodejs.org.
Last updated
Related articles
All articlesWatch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Node.js, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI