JLSEC-2026-1925: A weak randomness in WebCrypto keygen vulnerability exists in Node.js 18 due to a change with...
A weak randomness in WebCrypto keygen vulnerability exists in Node.js 18 due to a change with EntropySource() in SecretKeyGenTraits::DoKeyGen() in src/crypto/cryptokeygen.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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/NodeJS_16_jllto a version that resolves this vulnerability.Fixed in 16.20.2+0 - Upgrade
Upgrade
julia/libnode_jllto a version that resolves this vulnerability.Fixed in 18.12.1+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which deployments should be reviewed first?
Review deployments using the listed julia/nodejs_16_jll or julia/libnode_jll software packages. The provided data does not identify specific affected package versions.
Does exploitation require credentials or user interaction?
The supplied vector indicates network attack access, low attack complexity, no privileges required, and no user interaction required.
What is the potential security impact?
The vulnerability is rated critical with high confidentiality and high integrity impact. The supplied vector indicates no availability impact.