Information Exposure Affecting github.com/cloudflare/circl/kem package, versions <1.3.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.39% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMCLOUDFLARECIRCLKEM-5509162
  • published10 May 2023
  • disclosed10 May 2023
  • creditUnknown

Introduced: 10 May 2023

CVE-2023-1732  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade github.com/cloudflare/circl/kem to version 1.3.3 or higher.

Overview

github.com/cloudflare/circl/kem is an unified interface for KEM schemes.

Affected versions of this package are vulnerable to Information Exposure. 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 theRead() function), this could lead to a predictable shared secret.

CVSS Base Scores

version 3.1