ghsa-p36x-w6hr-88jp
Vulnerability from github
Published
2022-12-06 00:30
Modified
2023-01-26 21:30
Severity ?
Details
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": [], "aliases": [ "CVE-2022-35255" ], "database_specific": { "cwe_ids": [ "CWE-338" ], "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2022-12-05T22:15:00Z", "severity": "CRITICAL" }, "details": "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.", "id": "GHSA-p36x-w6hr-88jp", "modified": "2023-01-26T21:30:24Z", "published": "2022-12-06T00:30:16Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-35255" }, { "type": "WEB", "url": "https://hackerone.com/reports/1690000" }, { "type": "WEB", "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-332410.pdf" }, { "type": "WEB", "url": "https://security.netapp.com/advisory/ntap-20230113-0002" }, { "type": "WEB", "url": "https://www.debian.org/security/2023/dsa-5326" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N", "type": "CVSS_V3" } ] }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.