Improper random reading in CIRCL (Cloudflare CIRCL)
En bref
- Source
- NVD
- EPSS
- EPSS 0.39 % · centile 33 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- cloudflare
- Statut NVD
- Modified
Description
When sampling randomness for a shared secret, the implementation of Kyber and FrodoKEM, did not check whether crypto/rand.Read()Â returns an error. In rare deployment cases (error thrown by the Read()Â function), this could lead to a predictable shared secret. The tkn20 and blindrsa components did not check whether enough randomness was returned from the user provided randomness source. Typically the user provides crypto/rand.Reader, which in the vast majority of cases will always return the right number random bytes. In the cases where it does not, or the user provides a source that does not, the blinding for blindrsa is weak and integrity of the plaintext is not ensured in tkn20.
Faiblesses (CWE)
- CWE-20 — Validation d'entrée incorrecte
- CWE-755 — Gestion incorrecte des conditions exceptionnelles
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N | cloudflare |
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N | NVD · cna@cloudflare.com (Secondary) |
| CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N | NVD · nvd@nist.gov (Primary) |
Avis
- GHSA-2q89-485c-9j2x — Improper random reading in CIRCL
- GO-2023-1765 — Leaked shared secret and weak blinding in github.com/cloudflare/circl
Références européennes
- ENISA EUVD · EUVD-2023-1452
- GCVE · GCVE-0-2023-1732
Configurations affectées (CPE NVD)
cpe:2.3:a:cloudflare:circl:*:*:*:*:*:go:*:*< 1.3.3
Produits affectés
| Produit | Versions |
|---|---|
| Cloudflare · CIRCL | affected 0 < <1.3.3 |
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 |
| 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 |