Cyber Resilience

CVE-2021-22931

CriticalPublic PoC

Published: 16 August 2021

Published
16 August 2021
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0066 71.6th percentile
Risk Priority 20 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2021-22931 is a critical-severity Improper Null Termination (CWE-170) vulnerability in Nodejs Node.Js. Its CVSS base score is 9.8 (Critical).

Operationally, ranked in the top 28.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

EU & UK References

Vulnerability details

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…

more

(leading to Domain Hijacking) and injection vulnerabilities in applications using the library.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

nodejs
node.js
12.0.0 — 12.12.0 · 12.13.0 — 12.22.5 · 14.0.0 — 14.14.0
netapp
active iq unified manager
all versions
netapp
nextgen api
all versions
netapp
oncommand insight
all versions
netapp
oncommand workflow automation
all versions
netapp
snapcenter
all versions
oracle
graalvm
20.3.3, 21.2.0
oracle
mysql cluster
≤ 8.0.26
oracle
peoplesoft enterprise peopletools
8.57, 8.58, 8.59
siemens
sinec infrastructure network services
≤ 1.0.1.1

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-20

Security testing and developer training directly verify and enforce proper input validation, reducing exploitability of injection and malformed-data weaknesses.

addresses: CWE-20

Security testing and evaluation at multiple SDLC stages directly detects missing or flawed input validation, with the required remediation process ensuring fixes are applied.

addresses: CWE-20

Directly implements checks on information inputs to reject invalid data before processing.

addresses: CWE-20

Spam protection mechanisms perform filtering and detection on inbound/outbound messages, directly compensating for missing or weak input validation of unsolicited content.

References