CVE-2022-35255
NodeJS Node
CRITICAL 9.1
En bref
- Source
- NVD
- EPSS
- EPSS 2.09 % · centile 82 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- hackerone
- Statut NVD
- Modified
Description
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.
Faiblesses (CWE)
- CWE-338 — Utilisation d'un PRNG cryptographiquement faible
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | CISA-ADP |
| CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | NVD · nvd@nist.gov (Primary) |
| CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2022-38146
- GCVE · GCVE-0-2022-35255
Avis du CERT-FR
- CERTFR-2024-AVI-1051 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2023-AVI-0484 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2023-AVI-0362 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2023-AVI-0015 — Multiples vulnérabilités dans les produits Siemens · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*≥ 15.0.0 ≤ 15.14.0cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*≥ 16.0.0 ≤ 16.12.0cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*≥ 16.13.0 < 16.17.1cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*≥ 18.0.0 < 18.9.1cpe:2.3:a:siemens:sinec_ins:*:*:*:*:*:*:*:*< 1.0cpe:2.3:a:siemens:sinec_ins:1.0:-:*:*:*:*:*:*cpe:2.3:a:siemens:sinec_ins:1.0:sp1:*:*:*:*:*:*cpe:2.3:a:siemens:sinec_ins:1.0:sp2:*:*:*:*:*:*cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
Produits affectés
| Produit | Versions |
|---|---|
| NodeJS · Node | affected 4.0 < 4.* ; affected 5.0 < 5.* ; affected 6.0 < 6.* ; affected 7.0 < 7.* ; affected 8.0 < 8.* ; affected 9.0 < 9.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |