Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-35255

published critical CVSS 3.1 · 9.1

nodejs: weak randomness in WebCrypto keygen

Title from Red Hat VEX

Published
05 Dec 2022, 00:00:00 UTC
Updated
30 Apr 2025, 05:48:45 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
NodeJS — Node4.0 to < 4.* · 5.0 to < 5.* · 6.0 to < 6.* · 7.0 to < 7.* · 8.0 to < 8.* · 9.0 to < 9.* · 10.0 to < 10.* · 11.0 to < 11.* · 12.0 to < 12.* · 13.0 to < 13.* · 15.0 to < 15.* · 17.0 to < 17.* · 18.0 to < 18.9.1 · Other versions: unaffected Affected Not stated hackerone
Amazon Linux AL2023 Release evaluationALAS2023-2023-084 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 nodejs Advisory build 1:16.17.1-1.module_el8.6.0+3328+2e4711d7 ALSA-2022:6964
Alpine Linux edge nodejs Fixed 16.17.1-r0 Package fix record
Debian bullseye nodejs Advisory build 12.22.12~dfsg-1~deb11u3 DSA-5326-1
Oracle Linux 7 graalvm22-ce-11aarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
AlmaLinux 8 nodejs Advisory build 1:18.9.1-1.module_el8.7.0+3343+ea2b7901 ALSA-2022:7821
AlmaLinux 8 nodejs-devel Advisory build 1:16.17.1-1.module_el8.6.0+3328+2e4711d7 ALSA-2022:6964
Show 94 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 8 nodejs-devel Advisory build 1:18.9.1-1.module_el8.7.0+3343+ea2b7901 ALSA-2022:7821
AlmaLinux 8 nodejs-docs Advisory build 1:16.17.1-1.module_el8.6.0+3328+2e4711d7 ALSA-2022:6964
AlmaLinux 8 nodejs-docs Advisory build 1:18.9.1-1.module_el8.7.0+3343+ea2b7901 ALSA-2022:7821
AlmaLinux 8 nodejs-full-i18n Advisory build 1:16.17.1-1.module_el8.6.0+3328+2e4711d7 ALSA-2022:6964
AlmaLinux 8 nodejs-full-i18n Advisory build 1:18.9.1-1.module_el8.7.0+3343+ea2b7901 ALSA-2022:7821
AlmaLinux 8 nodejs-nodemon Advisory build 2.0.19-1.module_el8.7.0+3343+ea2b7901 ALSA-2022:7821
AlmaLinux 8 nodejs-nodemon Advisory build 2.0.19-2.module_el8.6.0+3261+490666b3 ALSA-2022:6964
AlmaLinux 8 nodejs-packaging Advisory build 2021.06-4.module_el8.7.0+3343+ea2b7901 ALSA-2022:7821
AlmaLinux 8 nodejs-packaging Advisory build 25-1.module_el8.5.0+2605+45d748af ALSA-2022:6964
AlmaLinux 8 nodejs-packaging-bundler Advisory build 2021.06-4.module_el8.7.0+3343+ea2b7901 ALSA-2022:7821
AlmaLinux 8 npm Advisory build 1:8.15.0-1.16.17.1.1.module_el8.6.0+3328+2e4711d7 ALSA-2022:6964
AlmaLinux 8 npm Advisory build 1:8.19.1-1.18.9.1.1.module_el8.7.0+3343+ea2b7901 ALSA-2022:7821
AlmaLinux 9 nodejs Advisory build 1:16.17.1-1.el9_0 ALSA-2022:6963
AlmaLinux 9 nodejs-docs Advisory build 1:16.17.1-1.el9_0 ALSA-2022:6963
AlmaLinux 9 nodejs-full-i18n Advisory build 1:16.17.1-1.el9_0 ALSA-2022:6963
AlmaLinux 9 nodejs-libs Advisory build 1:16.17.1-1.el9_0 ALSA-2022:6963
AlmaLinux 9 npm Advisory build 1:8.15.0-1.16.17.1.1.el9_0 ALSA-2022:6963
Alpine Linux edge nodejs-current Fixed 18.9.1-r0 Package fix record
Alpine Linux v3.15 nodejs Fixed 16.17.1-r0 Package fix record
Alpine Linux v3.16 nodejs Fixed 16.17.1-r0 Package fix record
Alpine Linux v3.16 nodejs-current Fixed 18.9.1-r0 Package fix record
Alpine Linux v3.17 nodejs Fixed 16.17.1-r0 Package fix record
Alpine Linux v3.17 nodejs-current Fixed 18.9.1-r0 Package fix record
Alpine Linux v3.18 nodejs Fixed 16.17.1-r0 Package fix record
Alpine Linux v3.18 nodejs-current Fixed 18.9.1-r0 Package fix record
Alpine Linux v3.19 nodejs Fixed 16.17.1-r0 Package fix record
Alpine Linux v3.19 nodejs-current Fixed 18.9.1-r0 Package fix record
Alpine Linux v3.20 nodejs Fixed 16.17.1-r0 Package fix record
Alpine Linux v3.20 nodejs-current Fixed 18.9.1-r0 Package fix record
Alpine Linux v3.21 nodejs Fixed 16.17.1-r0 Package fix record
Alpine Linux v3.21 nodejs-current Fixed 18.9.1-r0 Package fix record
Alpine Linux v3.22 nodejs Fixed 16.17.1-r0 Package fix record
Alpine Linux v3.22 nodejs-current Fixed 18.9.1-r0 Package fix record
Alpine Linux v3.23 nodejs Fixed 16.17.1-r0 Package fix record
Alpine Linux v3.23 nodejs-current Fixed 18.9.1-r0 Package fix record
Alpine Linux v3.24 nodejs Fixed 16.17.1-r0 Package fix record
Alpine Linux v3.24 nodejs-current Fixed 18.9.1-r0 Package fix record
Oracle Linux 7 graalvm22-ce-11aarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11x86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11x86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-develaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-develaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-develx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-develx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-espressoaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-espressoaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-espressox86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-espressox86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-espresso-llvmx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-fastrx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-javascriptaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-javascriptaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-javascriptx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-javascriptx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-jdkaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-jdkaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-jdkx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-jdkx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-libpolyglotaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-libpolyglotaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-libpolyglotx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-libpolyglotx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-llvmaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-llvmaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-llvmx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-llvmx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-llvm-toolchainaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-llvm-toolchainaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-llvm-toolchainx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-llvm-toolchainx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-native-imageaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-native-imageaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-native-imagex86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-native-imagex86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-native-image-llvm-backendaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-native-image-llvm-backendaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-native-image-llvm-backendx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-native-image-llvm-backendx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-nodejsaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-nodejsaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-nodejsx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-nodejsx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-nodejs-develaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-nodejs-develaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-nodejs-develx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-nodejs-develx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-polyglotaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-polyglotaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-polyglotx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-polyglotx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-pythonaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-pythonaarch64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947
Oracle Linux 7 graalvm22-ce-11-pythonx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9944
Oracle Linux 7 graalvm22-ce-11-pythonx86_64 Advisory build 0:22.3.0-1.el7 ELSA-2022-9947

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · hackerone · cna

Vendor advisories explicitly linked to this CVE.

64

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.1 / 10
Severity
critical
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
NodeJS Node 4.0 to < 4.* (affected · semver)5.0 to < 5.* (affected · semver)6.0 to < 6.* (affected · semver)7.0 to < 7.* (affected · semver)8.0 to < 8.* (affected · semver)9.0 to < 9.* (affected · semver)10.0 to < 10.* (affected · semver)11.0 to < 11.* (affected · semver)12.0 to < 12.* (affected · semver)13.0 to < 13.* (affected · semver)15.0 to < 15.* (affected · semver)17.0 to < 17.* (affected · semver)18.0 to < 18.9.1 (affected · semver)Default: unaffected hackerone · cna

Weaknesses

1
  • CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) (CWE-338) (hackerone · cna)

References

4

Provider assertions

3

hackerone · cna

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
f4ead92ac27b64cb45f566da47a37a7e91bfd095fc96aad92f18e2a4ace50651
Ingested
23 Sep 2026, 08:01:13 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected