{"id":"CVE-2023-1732","state":"PUBLISHED","title":"Improper random reading in CIRCL","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.\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","publishedAt":"2023-05-10T11:41:53.902Z","updatedAt":"2025-01-27T18:32:25.797Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N","source":"cloudflare"},"assigner":"cloudflare","products":["Cloudflare CIRCL"],"affected":[{"vendor":"Cloudflare","product":"CIRCL","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"<1.3.3","versionType":"semver"}],"collectionURL":"https://github.com/cloudflare/circl","platforms":["Go"]}],"references":["https://github.com/cloudflare/circl/security/advisories/GHSA-2q89-485c-9j2x"],"weaknesses":["CWE-20","CWE-755"],"ingestedAt":"2026-10-29T20:05:36.141Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/1xxx/CVE-2023-1732.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-1732","state":"PUBLISHED","datePublished":"2023-05-10T11:41:53.902Z","dateUpdated":"2025-01-27T18:32:25.797Z","assignerShortName":"cloudflare","assignerOrgId":"a22f1246-ba21-4bb4-a601-ad51614c1513","dateReserved":"2023-03-30T15:16:57.957Z"},"containers":{"cna":{"title":"Improper random reading in CIRCL","descriptions":[{"lang":"en","value":"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.\n\n"}],"affected":[{"vendor":"Cloudflare","product":"CIRCL","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"<1.3.3","versionType":"semver"}],"collectionURL":"https://github.com/cloudflare/circl","platforms":["Go"]}],"references":[{"url":"https://github.com/cloudflare/circl/security/advisories/GHSA-2q89-485c-9j2x"}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"CWE-20 Improper Input Validation","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-755","description":"CWE-755 Improper Handling of Exceptional Conditions","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"cloudflare","orgId":"a22f1246-ba21-4bb4-a601-ad51614c1513","dateUpdated":"2023-05-10T11:41:53.902Z"},"credits":[{"lang":"en","type":"finder","user":"00000000-0000-4000-9000-000000000000","value":"Tom Thorogood"}],"impacts":[{"capecId":"CAPEC-620","descriptions":[{"lang":"en","value":"CAPEC-620 Drop Encryption Level"}]},{"capecId":"CAPEC-20","descriptions":[{"lang":"en","value":"CAPEC-20 Encryption Brute Forcing"}]}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/cloudflare/circl/security/advisories/GHSA-2q89-485c-9j2x","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T05:57:24.987Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-01-27T18:32:18.233703Z","id":"CVE-2023-1732","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-01-27T18:32:25.797Z"}}]}}}