
CVE catalog
CVE-2022-35255
nodejs: CVE-2022-35255
- Severity
- High · CVSS 8.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.09% · Oct 25, 2026
A weak randomness in WebCrypto keygen vulnerability exists in Node.js 18 due to a change with EntropySource() in SecretKeyGenTraits::DoKeyGen() in src/crypto/crypto_keygen.cc. There are two problems with this: 1) It does not check the return value, it assumes EntropySource() always succeeds, but it can (and sometimes will) fail. 2) The random data returned byEntropySource() may not be cryptographically strong and therefore not suitable as keying material.
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 | 15.14.1 | fixed |
| Bitnami | node-min | Not reported | 16.12.1 | fixed |
| Bitnami | node-min | Not reported | 16.17.1 | fixed |
| Bitnami | node-min | Not reported | 18.9.1 | fixed |
| Bitnami | node | Not reported | 15.14.1 | fixed |
| Bitnami | node | Not reported | 16.12.1 | fixed |
| Bitnami | node | Not reported | 16.17.1 | fixed |
| Bitnami | node | Not reported | 18.9.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nodejs | source | sid | 18.10.0+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | nodejs | source | forky | 18.10.0+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | nodejs | source | trixie | 18.10.0+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | nodejs | source | bookworm | 18.10.0+dfsg-1 | not yet assigned | Not reported | Not reported |
| Bitnami | node-min | Bitnami | Not reported | 15.14.1 | Not reported | BIT-NODE-MIN-2022-35255 | Not reported |
| Bitnami | node-min | Bitnami | Not reported | 16.12.1 | Not reported | BIT-NODE-MIN-2022-35255 | Not reported |
| Bitnami | node-min | Bitnami | Not reported | 16.17.1 | Not reported | BIT-NODE-MIN-2022-35255 | Not reported |
| Bitnami | node-min | Bitnami | Not reported | 18.9.1 | Not reported | BIT-NODE-MIN-2022-35255 | Not reported |
| Bitnami | node | Bitnami | Not reported | 15.14.1 | Not reported | BIT-NODE-2022-35255 | Not reported |
| Bitnami | node | Bitnami | Not reported | 16.12.1 | Not reported | BIT-NODE-2022-35255 | Not reported |
| Bitnami | node | Bitnami | Not reported | 16.17.1 | Not reported | BIT-NODE-2022-35255 | Not reported |
| Bitnami | node | Bitnami | Not reported | 18.9.1 | Not reported | BIT-NODE-2022-35255 | 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:
18.10.0+dfsg-1dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
18.10.0+dfsg-1dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityFixed · Fixed:
18.10.0+dfsg-1dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityFixed · Fixed:
18.10.0+dfsg-1dsa · nodejs · debian · bookworm
- [libnode-dev]Unknown
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormFixed · Fixed:
18.10.0+dfsg-1dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
18.10.0+dfsg-1dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityFixed · Fixed:
18.10.0+dfsg-1dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityFixed · Fixed:
18.10.0+dfsg-1dsa · nodejs · debian · bookworm
- [nodejs]Unknown
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormFixed · Fixed:
18.10.0+dfsg-1dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
18.10.0+dfsg-1dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityFixed · Fixed:
18.10.0+dfsg-1dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityFixed · Fixed:
18.10.0+dfsg-1dsa · nodejs · debian · bookworm
- [nodejs-doc]Unknown
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
18.10.0+dfsg-1dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
18.10.0+dfsg-1dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
18.10.0+dfsg-1dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
18.10.0+dfsg-1dsa · nodejs · debian · bookworm
Observed:
References
- [https://access.redhat.com/errata/RHSA-2022:6964]
- [https://cert-portal.siemens.com/productcert/csaf/ssa-332410.json]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2022_6964.json]
- [https://osv.dev/vulnerability/BIT-node-2022-35255]
- [https://security-tracker.debian.org/tracker/CVE-2022-35255]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-0561.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]