Vulnerabilities · 2022 · Nodejs
CVE-2022-35255
Nodejs Node.js vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Node.js, Sinec Ins, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nodejs Node.js runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- cert-portal.siemens.com/productcert/pdf/ssa-332410.pdf · Third Party Advisory
- hackerone.com/reports/1690000 · Exploit
- security.netapp.com/advisory/ntap-20230113-0002/ · Third Party Advisory
- www.debian.org/security/2023/dsa-5326 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-35255
- cve.org/CVERecord?id=CVE-2022-35255
More vulnerabilities in Nodejs products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.