Vulnerability Details : CVE-2023-1732
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.
Vulnerability category: Input validation
Products affected by CVE-2023-1732
- cpe:2.3:a:cloudflare:circl:*:*:*:*:*:go:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-1732
0.06%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 25 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-1732
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.3
|
MEDIUM | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N |
1.0
|
4.2
|
Cloudflare, Inc. | |
8.2
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N |
3.9
|
4.2
|
NIST |
CWE ids for CVE-2023-1732
-
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.Assigned by: cna@cloudflare.com (Secondary)
-
The product does not handle or incorrectly handles an exceptional condition.Assigned by:
- cna@cloudflare.com (Secondary)
- nvd@nist.gov (Primary)
References for CVE-2023-1732
-
https://github.com/cloudflare/circl/security/advisories/GHSA-2q89-485c-9j2x
Improper random reading in CIRCL · Advisory · cloudflare/circl · GitHubVendor Advisory
Jump to