CVE-2022-35255
9.1
CRITICAL
CVSS 3.1
EPSS 1.9%
描述
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.
如何修補 CVE-2022-35255
要修補 CVE-2022-35255,請將受影響套件升級到下列已修補版本。
- —升級至 16.17.1-r0 或更新版本
- —升級至 15.14.1 或更新版本
- —升級至 15.14.1 或更新版本
- —升級至 12.22.12~dfsg-1~deb11u3 或更新版本
CVE-2022-35255 正在被利用嗎?
低 — EPSS 為 1.9%,目前沒有觀察到大規模利用活動。
受影響套件(4)
- from 0, < 16.17.1-r0
- >= 15.0.0, < 15.14.1, >= 16.0.0, < 16.12.1, >= 16.13.0, < 16.17.1, >= 18.0.0, < 18.9.1
- >= 15.0.0, < 15.14.1, >= 16.0.0, < 16.12.1, >= 16.13.0, < 16.17.1, >= 18.0.0, < 18.9.1
- from 0, < 12.22.12~dfsg-1~deb11u3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |