{"id":"CVE-2023-1732","aliases":["CVE-2023-1732","GHSA-2q89-485c-9j2x","GO-2023-1765"],"related":["CGA-vfrc-8hcx-ccqq"],"kind":"vulnerability","state":"published","title":"Improper random reading in CIRCL","summary":"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.\n\nThe 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nThe 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.","source":"cvelist"},{"lang":"en","text":"### Impact\nWhen 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.\n\nThe 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.\n\n\n### Patches\nThe fix was introduced in CIRCL v. 1.3.3","format":"markdown","source":"ghsa"}],"published":"2023-05-10T11:41:53.902Z","modified":"2026-09-10T03:49:54.418Z","severity":{"scorer":"cloudflare","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"cloudflare","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","score":8.2,"rating":"HIGH"}],"cwes":["CWE-20","CWE-755"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"<1.3.3","status":"affected"}],"vendor":"Cloudflare","product":"CIRCL","platforms":["Go"],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.3.3"}],"ecosystem":"Go","package":"github.com/cloudflare/circl","purl":"pkg:golang/github.com/cloudflare/circl","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.3.3"}],"ecosystem":"Go","package":"github.com/cloudflare/circl","purl":"pkg:golang/github.com/cloudflare/circl","source":"go"},{"ranges":[{"status":"affected","fixed":"1.3.3"}],"vendor":"cloudflare","product":"circl","cpe":"cpe:2.3:a:cloudflare:circl:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/cloudflare/circl/security/advisories/GHSA-2q89-485c-9j2x","tags":["advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-1732","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/cloudflare/circl/commit/ff8d91225f8954b4970b6d6382d2e4c78f4a4cf8","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/cloudflare/circl","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/cloudflare/circl/releases/tag/v1.3.3","tags":["web"],"sources":["ghsa"]}],"credits":["Tom Thorogood"],"assigner":"cloudflare","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-01-27T18:32:18.233Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-1732","url":"https://www.cve.org/CVERecord?id=CVE-2023-1732","licence":"CVE Terms of Use","modified":"2025-01-27T18:32:25.797Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2q89-485c-9j2x","url":"https://github.com/advisories/GHSA-2q89-485c-9j2x","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:54.418Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2023-1765","url":"https://pkg.go.dev/vuln/GO-2023-1765","licence":"CC-BY-4.0","modified":"2026-02-04T02:22:58.839Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-1732","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-1732","licence":"Public domain","modified":"2026-06-17T05:28:38.170Z"}],"updatedAt":"2026-11-25T22:58:24.052Z","epss":{"score":0.00386,"percentile":0.34815,"date":"2026-12-01T12:00:22.000Z"}}