Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/cloudflare/circl
  4. ›
  5. CVE-2023-1732

CVE-2023-1732: Improper random reading in CIRCL

May 11, 2023

When sampling randomness for a shared secret, the implementation of Kyber and FrodoKEM, does 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 does 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.

References

  • github.com/advisories/GHSA-2q89-485c-9j2x
  • github.com/cloudflare/circl/commit/ff8d91225f8954b4970b6d6382d2e4c78f4a4cf8
  • github.com/cloudflare/circl/releases/tag/v1.3.3
  • github.com/cloudflare/circl/security/advisories/GHSA-2q89-485c-9j2x
  • nvd.nist.gov/vuln/detail/CVE-2023-1732

Code Behaviors & Features

Detect and mitigate CVE-2023-1732 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.3.3

Fixed versions

  • v1.3.3

Solution

Upgrade to version 1.3.3 or above.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N

Learn more about CVSS

Source file

go/github.com/cloudflare/circl/CVE-2023-1732.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:43 +0000.