Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) Affecting nodejs-devel package, versions <1:18.8.0-1.module+el8.7.0+20871+e727ae93
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ORACLE8-NODEJSDEVEL-3051692
- published 18 Oct 2022
- disclosed 5 Dec 2022
Introduced: 18 Oct 2022
CVE-2022-35255 Open this link in a new tabHow to fix?
Upgrade Oracle:8
nodejs-devel
to version 1:18.8.0-1.module+el8.7.0+20871+e727ae93 or higher.
This issue was patched in ELSA-2022-7821
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream nodejs-devel
package and not the nodejs-devel
package as distributed by Oracle
.
See How to fix?
for Oracle:8
relevant fixed versions and status.
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.
References
- https://linux.oracle.com/cve/CVE-2022-35255.html
- https://linux.oracle.com/errata/ELSA-2022-6963.html
- https://linux.oracle.com/errata/ELSA-2022-6964.html
- https://linux.oracle.com/errata/ELSA-2022-7821.html
- https://linux.oracle.com/errata/ELSA-2022-9944.html
- https://linux.oracle.com/errata/ELSA-2022-9945.html
- https://linux.oracle.com/errata/ELSA-2022-9946.html
- https://linux.oracle.com/errata/ELSA-2022-9947.html
- https://linux.oracle.com/errata/ELSA-2022-9948.html
- https://linux.oracle.com/errata/ELSA-2022-9949.html
- https://linux.oracle.com/errata/ELSA-2022-9950.html
- https://linux.oracle.com/errata/ELSA-2022-9951.html
- https://linux.oracle.com/errata/ELSA-2022-9952.html
- https://linux.oracle.com/errata/ELSA-2022-9953.html
- https://linux.oracle.com/errata/ELSA-2022-9954.html
- https://linux.oracle.com/errata/ELSA-2022-9955.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-332410.pdf
- https://hackerone.com/reports/1690000
- https://security.netapp.com/advisory/ntap-20230113-0002/
- https://www.debian.org/security/2023/dsa-5326