HOMEVULNERABILITIESCVE-2021-22940
HIGH

CVE-2021-22940

CWE-416Published: August 16, 2021· Updated: Jun 17, 2026

7.5
CVSS v3.1

Official Description

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.

NVD Source

Technical Analysis

CVE-2021-22940 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.

A successful exploit results in full integrity compromise (data manipulation), with a CVSS base score of 7.5.

From a weakness classification perspective (CWE-416): Use-after-free vulnerabilities involve accessing memory after it has been freed, often enabling arbitrary code execution.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.None
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityNone
IntegrityHigh
AvailabilityNone
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected Vendors & Products

Debian1 product(s)
debian linux
netapp1 product(s)
nextgen api
Node.js1 product(s)
node.js
Oracle3 product(s)
graalvmjd edwards enterpriseone toolspeoplesoft enterprise peopletools
siemens1 product(s)
sinec infrastructure network services
Source: NVD CPE · 10 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (18)

Quick Facts

CVE IDCVE-2021-22940
CVSS Score7.5 / 10
SeverityHIGH
WeaknessCWE-416
CISA KEVNo
Affected5 vendor(s)
PublishedAug 16, 2021

Related CVEs (CWE-416)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2021-22940 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.