{"answers":{"affected":"3 open source packages ship an affected version, including github.com/cloudflare/circl. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-1732 in the wild and no public exploit code.","fix":"Upgrade github.com/cloudflare/circl to 1.3.3 or later.","what":"CVE-2023-1732 is a medium-severity vulnerability in Cloudflare CIRCL, published on 10 May 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-1732 and fix it if it is affected.\n\nWhat it is: CVE-2023-1732 is a medium-severity vulnerability in Cloudflare CIRCL, published on 10 May 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-1732 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/cloudflare/circl (Go): affected all versions; fixed in 1.3.3\n- github.com/cloudflare/circl (Go): affected all versions; fixed in 1.3.3\n- github.com/cloudflare/circl (Go): affected all versions; fixed in 1.3.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-1732/ (Markdown: https://insights.sbomify.com/CVE-2023-1732/index.md)","id":"CVE-2023-1732","markdown":"https://insights.sbomify.com/CVE-2023-1732/index.md","name":"CVE-2023-1732","record":{"aliases":["GHSA-2q89-485c-9j2x","GO-2023-1765"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Go cryptographic library","requires_auth":"none","summary":"Failure to check random number generation errors in CIRCL can lead to predictable shared secrets and weak blinding, compromising cryptographic security.","user_interaction":"required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cloudflare","cpe":[{"product":"circl","vendor":"cloudflare"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-755","name":"Improper Handling of Exceptional Conditions"},{"id":"CWE-20","name":"Improper Input Validation"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Improper random reading in CIRCL","id":"CVE-2023-1732","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"weak_cryptography","year":"2023"},"n_packages":3,"n_references":1,"next":{"headline":"Denial of service in GitLab","id":"CVE-2023-1733"},"packages":[{"ecosystem":"Go","fixed":["1.3.3"],"introduced":["0"],"last_affected":[],"package":"github.com/cloudflare/circl","purl":null,"source":"GHSA-2q89-485c-9j2x"},{"ecosystem":"Go","fixed":["1.3.3"],"introduced":["0"],"last_affected":[],"package":"github.com/cloudflare/circl","purl":"pkg:golang/github.com/cloudflare/circl","source":"GHSA-2q89-485c-9j2x"},{"ecosystem":"Go","fixed":["1.3.3"],"introduced":["0"],"last_affected":[],"package":"github.com/cloudflare/circl","purl":"pkg:golang/github.com/cloudflare/circl","source":"GO-2023-1765"}],"prev":{"headline":"Improper Input Validation in Meinberg LTOS","id":"CVE-2023-1731"},"products":["CIRCL"],"published":"2023-05-10","related":[{"cvss_score":2.9,"headline":"Incorrect calculation in CIRCL secp384r1 CombinedMult","id":"CVE-2026-1229","kev_date_added":null,"published":"2026-02-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-01-27","vendors":["Cloudflare"]},"summary":"Failure to check random number generation errors in CIRCL can lead to predictable shared secrets and weak blinding, compromising cryptographic security.","url":"https://insights.sbomify.com/CVE-2023-1732/"}