Security mailing lists by PureSourceCode

CVE-2023-1732

HIGH 8.2CVSS 3.1

Improper random reading in CIRCL

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.

Published
10 May 2023
Last modified
10 Sep 2026
Assigned by
cna@cloudflare.com
NVD status
Modified
Weakness
CWE-20CWE-755
Also known as
GHSA-2q89-485c-9j2xGO-2023-1765
Sources
NVDJSONOSV GHSA-2q89-485c-9j2xJSONOSV GO-2023-1765JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) 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 cna@cloudflare.com (Secondary) 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
OSV GitHub 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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD cloudflare circl
cpe:2.3:a:cloudflare:circl:*:*:*:*:*:go:*:*
< 1.3.3 1.3.3
OSV Go github.com/cloudflare/circl < 1.3.3 1.3.3

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 10 May 2023)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 May 2023)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 May 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.