
CVE catalog
CVE-2021-22940
nodejs: CVE-2021-22940
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 13.86% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | nodejs | sid | 24.22.1+dfsg+~cs24.19.2-1 | fixed |
| Debian | nodejs | forky | 24.21.0+dfsg+~cs24.13.4-1 | fixed |
| Debian | nodejs | trixie | 20.19.2+dfsg-1+deb13u2 | fixed |
| Debian | nodejs | trixie-security | 20.19.2+dfsg-1+deb13u3 | fixed |
| Debian | nodejs | bookworm | 18.20.4+dfsg-1~deb12u2 | fixed |
| Debian | nodejs | bookworm-security | 18.20.4+dfsg-1~deb12u3 | fixed |
| Bitnami | node-min | Not reported | 12.22.5 | fixed |
| Bitnami | node-min | Not reported | 14.17.5 | fixed |
| Bitnami | node-min | Not reported | 16.6.2 | fixed |
| Bitnami | node | Not reported | 12.22.5 | fixed |
| Bitnami | node | Not reported | 14.17.5 | fixed |
| Bitnami | node | Not reported | 16.6.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nodejs | source | sid | 12.22.5~dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | nodejs | source | forky | 12.22.5~dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | nodejs | source | trixie | 12.22.5~dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | nodejs | source | bookworm | 12.22.5~dfsg-1 | not yet assigned | Not reported | Not reported |
| Bitnami | node-min | Bitnami | Not reported | 12.22.5 | Not reported | BIT-NODE-MIN-2021-22940 | Not reported |
| Bitnami | node-min | Bitnami | Not reported | 14.17.5 | Not reported | BIT-NODE-MIN-2021-22940 | Not reported |
| Bitnami | node-min | Bitnami | Not reported | 16.6.2 | Not reported | BIT-NODE-MIN-2021-22940 | Not reported |
| Bitnami | node | Bitnami | Not reported | 12.22.5 | Not reported | BIT-NODE-2021-22940 | Not reported |
| Bitnami | node | Bitnami | Not reported | 14.17.5 | Not reported | BIT-NODE-2021-22940 | Not reported |
| Bitnami | node | Bitnami | Not reported | 16.6.2 | Not reported | BIT-NODE-2021-22940 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [libnode108]Unknown
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
- [libnode-dev]Unknown
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
- [nodejs]Unknown
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
- [nodejs-doc]Unknown
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
[Debian 13 (Trixie)]
- [libnode115]Unknown
Source package: [nodejs]
Details (5)
20.19.2+dfsg-1+deb13u2· amd64 · trixieFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixieFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixie-securityFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · 13
- [libnode-dev]Unknown
Source package: [nodejs]
Details (5)
20.19.2+dfsg-1+deb13u2· amd64 · trixieFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixieFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixie-securityFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · 13
- [nodejs]Unknown
Details (5)
20.19.2+dfsg-1+deb13u2· amd64 · trixieFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixieFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixie-securityFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · 13
- [nodejs-doc]Unknown
Source package: [nodejs]
Details (5)
20.19.2+dfsg-1+deb13u2· all · trixieFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· all · trixieFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· all · trixie-securityFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· all · trixie-security · Historical versionFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· all · trixie-securityFixed · Fixed:
12.22.5~dfsg-1dsa · nodejs · debian · 13
Observed:
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-389290.json]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2021_3623.json]
- [https://osv.dev/vulnerability/BIT-node-2021-22940]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-22940]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-22940]
- [https://security-tracker.debian.org/tracker/CVE-2021-22940]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-22940.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2023-0856.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]