Improper random reading in CIRCL (Cloudflare CIRCL)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.39 % · percentile 33 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- cloudflare
- NVD status
- 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.
Weaknesses (CWE)
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| 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) |
Advisories
- GHSA-2q89-485c-9j2x — Improper random reading in CIRCL
- GO-2023-1765 — Leaked shared secret and weak blinding in github.com/cloudflare/circl
European references
- ENISA EUVD · EUVD-2023-1452
- GCVE · GCVE-0-2023-1732
Affected configurations (NVD CPE)
cpe:2.3:a:cloudflare:circl:*:*:*:*:*:go:*:*< 1.3.3
Affected products
| Product | 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 |