Improper random reading in CIRCL (Cloudflare CIRCL)

CVE-2023-1732
MEDIUM 5.3

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

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:Ncloudflare
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:NNVD · cna@cloudflare.com (Secondary)
CVSS 3.1HIGH 8.2CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:NNVD · nvd@nist.gov (Primary)

Avis

Références européennes

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Cloudflare · CIRCLaffected 0 < <1.3.3

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD