CVE-2022-35255
published 2022-12-05CVE-2022-35255: A weak randomness in WebCrypto keygen vulnerability exists in Node.js 18 due to a change with EntropySource() in SecretKeyGenTraits::DoKeyGen() in…
PriorityP347critical9.1CVSS 3.1
AVNACLPRNUINSUCHIHAN
EPSS
1.87%
77.0th percentile
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.
Affected
25 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | nodejs | < nodejs 18.10.0+dfsg-1 (bookworm) | nodejs 18.10.0+dfsg-1 (bookworm) |
| nodejs | node | >= 10.0 < 10.* | 10.* |
| nodejs | node | >= 11.0 < 11.* | 11.* |
| nodejs | node | >= 12.0 < 12.* | 12.* |
| nodejs | node | >= 13.0 < 13.* | 13.* |
| nodejs | node | >= 15.0 < 15.* | 15.* |
| nodejs | node | >= 17.0 < 17.* | 17.* |
| nodejs | node | >= 18.0 < 18.9.1 | 18.9.1 |
| nodejs | node | >= 4.0 < 4.* | 4.* |
| nodejs | node | >= 5.0 < 5.* | 5.* |
| nodejs | node | >= 6.0 < 6.* | 6.* |
| nodejs | node | >= 7.0 < 7.* | 7.* |
| nodejs | node | >= 8.0 < 8.* | 8.* |
| nodejs | node | >= 9.0 < 9.* | 9.* |
| nodejs | node.js | 15.0.0 – 15.14.0 | — |
| nodejs | node.js | 16.0.0 – 16.12.0 | — |
| nodejs | node.js | >= 16.13.0 < 16.17.1 | 16.17.1 |
| nodejs | node.js | >= 18.0.0 < 18.9.1 | 18.9.1 |
| nodejs | nodejs | >= 0 < 12.22.12~dfsg-1~deb11u3 | 12.22.12~dfsg-1~deb11u3 |
| nodejs | nodejs | >= 0 < 18.10.0+dfsg-1 | 18.10.0+dfsg-1 |
| nodejs | nodejs | >= 0 < 18.10.0+dfsg-1 | 18.10.0+dfsg-1 |
| nodejs | nodejs | >= 0 < 18.10.0+dfsg-1 | 18.10.0+dfsg-1 |
| siemens | sinec_ins | < 1.0 | 1.0 |
| siemens | sinec_ins | — | — |
CVSS provenance
nvdv3.19.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
osv9.1CRITICAL
vendor_debian9.1CRITICAL
vendor_redhat9.1CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
CISA ICS
Siemens SINEC INS
cisa_ics·2023-01-17·CVSS 7.3
[HIGH] Siemens SINEC INS
ICS Advisory
##
Siemens SINEC INS
Last RevisedJanuary 17, 2023
Alert CodeICSA-23-017-03
As of January 10, 2023, CISA will no longer be updating ICS security advisories for Siemens product vulnerabilities beyond the initial advisory. For the most up-to-date information on vulnerabilities in this advisory, please see Siemens' ProductCERT Security Advisories (CERT Services | Services | Siemens Global).
## 1. EXECUTIVE SUMMARY
- CVSS v3 9.9
- ATTENTION: Exploitable remotely/low attack complexity
- Vendor: Siemens
- Equipment: SINEC INS
- Vulnerabilities: OS Command Injection, Inadequate Encryption Strength, Out-of-bounds Write, HTTP Request Smuggling, Inadequate Encryption Strength, Use of Insufficiently Random Values, Authentication Bypass by Spoofing, Path Trave
Red Hat
nodejs: weak randomness in WebCrypto keygen
vendor_redhat·2022-09-23·CVSS 9.1
CVE-2022-35255 [CRITICAL] CWE-338 nodejs: weak randomness in WebCrypto keygen
nodejs: weak randomness in WebCrypto keygen
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.
A vulnerability was found in NodeJS due to weak randomness in the WebCrypto keygen within the SecretKeyGenTraits::DoKeyGen() in src/crypto/crypto_keygen.cc. Node.js made calls to EntropySource() in SecretKeyGenTraits::DoKeyGen(). However, it does not check the return value and assumes the Entr
Debian
CVE-2022-35255: nodejs - A weak randomness in WebCrypto keygen vulnerability exists in Node.js 18 due to ...
vendor_debian·2022·CVSS 9.1
CVE-2022-35255 [CRITICAL] CVE-2022-35255: nodejs - A weak randomness in WebCrypto keygen vulnerability exists in Node.js 18 due to ...
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.
Scope: local
bookworm: resolved (fixed in 18.10.0+dfsg-1)
bullseye: resolved (fixed in 12.22.12~dfsg-1~deb11u3)
forky: resolved (fixed in 18.10.0+dfsg-1)
sid: resolved (fixed in 18.10.0+dfsg-1)
trixie: resolved (fixed in 18.10.0+dfsg-1)
GHSA
GHSA-p36x-w6hr-88jp: A weak randomness in WebCrypto keygen vulnerability exists in Node
ghsa_unreviewed·2022-12-06
CVE-2022-35255 [CRITICAL] CWE-338 GHSA-p36x-w6hr-88jp: A weak randomness in WebCrypto keygen vulnerability exists in Node
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.
OSV
CVE-2022-35255: A weak randomness in WebCrypto keygen vulnerability exists in Node
osv·2022-12-05·CVSS 9.1
CVE-2022-35255 [CRITICAL] CVE-2022-35255: A weak randomness in WebCrypto keygen vulnerability exists in Node
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.
No detection rules found.
No public exploits indexed.
https://cert-portal.siemens.com/productcert/pdf/ssa-332410.pdfhttps://hackerone.com/reports/1690000https://security.netapp.com/advisory/ntap-20230113-0002/https://www.debian.org/security/2023/dsa-5326https://cert-portal.siemens.com/productcert/pdf/ssa-332410.pdfhttps://hackerone.com/reports/1690000https://security.netapp.com/advisory/ntap-20230113-0002/https://www.debian.org/security/2023/dsa-5326
2022-12-05
Published