CVE-2021-22940
CVE-2021-22940 is a use-after-free in Nodejs Node.js (CVSS 7.5, High).
Exploitation likely. EPSS gives it a 14% chance of exploitation in the next 30 days. Fixed versions are out.
No public exploit knownFix5 products6 fixed builds listed below
e.g. Node.js Use After Free Vulnerability · OID 1.3.6.1.4.1.25623.1.0.117776
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.22.5Upgrade to: 12.22.5Stated by: NVD
- Oracle Jd Edwards Enterpriseone ToolsAffected: ≤ 9.2.6.1Upgrade to: after 9.2.6.1Stated 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. 5 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
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.
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
14% chance of exploitation activity in the next 30 days, which ranks it in the 97th 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 4 more affected products. 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:N/I:H/A:N
Scored 7.5 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 NoneNo confidentiality impact
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability NoneNo availability impact
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
- Initial AccessT1190Exploit Public-Facing Applicationhigh confidence
- Privilege EscalationT1068Exploitation for Privilege Escalationhigh confidence
Sources
References in the record
- cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- hackerone.com/reports/1238162
- lists.debian.org/debian-lts-announce/2022/10/msg00006.html
And 96 more references. See all after sign-in
Questions about CVE-2021-22940
- Is CVE-2021-22940 being exploited?
- No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 14%.
- Which versions are affected by CVE-2021-22940?
- Node: ≥ 4.0, < 4.*; ≥ 5.0, < 5.*; ≥ 6.0, < 6.*. Node.js: ≥ 12.0.0, < 12.22.5. Jd Edwards Enterpriseone Tools: ≤ 9.2.6.1. 7 more products are listed in the record.
- How do I fix or mitigate CVE-2021-22940?
- 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