LiveActive security incident?Get immediate response
CVE Record

CVE-2021-22940: Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker migh...

Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2021-22940 is a Node.js memory safety flaw. Affected Node.js versions can mishandle freed memory, which may let an attacker alter how a Node.js process behaves. The public bundle names fixed Node.js releases, but does not provide CVSS scoring or confirmed exploitation evidence.

Executive priority

Prioritize remediation for exposed or business-critical Node.js services. The flaw affects a common runtime and involves memory corruption, but the bundle does not prove active exploitation or provide scoring.

Technical view

The issue is classified as CWE-416, use-after-free. Node.js before 16.6.1, 14.17.5, and 12.22.5 is affected. The described impact is memory corruption that may change process behavior. Public references include Node.js security releases and downstream vendor advisories.

Likely exposure

Exposure is most likely in applications, containers, build systems, serverless functions, or vendor products running Node.js older than 16.6.1, 14.17.5, or 12.22.5.

Exploitation context

The provided sources do not show CISA KEV listing or confirmed active exploitation. Exploitability details are limited in the bundle, so treat risk as real but validate exposure before assuming compromise.

Researcher notes

Key gaps are exploit prerequisites, reachable attack surface, and product-specific exposure. Validate runtime versions and vendor packaging rather than relying only on application dependency manifests.

Mitigation direction

  • Upgrade Node.js to 16.6.1, 14.17.5, 12.22.5, or later supported releases.
  • Apply downstream vendor updates for packaged or embedded Node.js components.
  • Check Oracle, NetApp, Siemens, Debian, and Gentoo advisories where those products are in scope.
  • Prioritize internet-facing Node.js services and privileged backend workers.
  • Retire unsupported Node.js major versions where upgrade paths exist.

Validation and detection

  • Inventory Node.js versions across hosts, containers, CI runners, and serverless runtimes.
  • Confirm production runtimes meet or exceed the fixed versions named by Node.js.
  • Review software bills of materials for embedded Node.js dependencies.
  • Check vendor appliances and bundled software against cited downstream advisories.
  • Document exceptions where vendor guidance is unavailable or pending.
Prepared
Confidence
medium
Sources
9

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-416: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-22940 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
10Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
NodeJSNode4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-416 · source CWE mapping

Use After Free

Use After Free represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.