Bug 2203757 (CVE-2023-1732) - CVE-2023-1732 CIRCL: Improper random reading in CIRCL
Summary: CVE-2023-1732 CIRCL: Improper random reading in CIRCL
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2023-1732
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2203758
Blocks: 2196873
TreeView+ depends on / blocked
 
Reported: 2023-05-15 07:57 UTC by Avinash Hanwate
Modified: 2023-05-16 13:15 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-05-16 13:15:38 UTC
Embargoed:


Attachments (Terms of Use)

Description Avinash Hanwate 2023-05-15 07:57:11 UTC
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.



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

Comment 1 Avinash Hanwate 2023-05-15 07:57:31 UTC
Created golang-github-cloudflare-circl tracking bugs for this issue:

Affects: fedora-all [bug 2203758]

Comment 2 Product Security DevOps Team 2023-05-16 13:15:37 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.