Use of Insufficiently Random Values Affecting github.com/cubefs/cubefs/sdk/data/stream package, versions <3.3.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (42nd 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 Learn

Learn about Use of Insufficiently Random Values vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMCUBEFSCUBEFSSDKDATASTREAM-6143558
  • published4 Jan 2024
  • disclosed3 Jan 2024
  • creditAda Logics

Introduced: 3 Jan 2024

CVE-2023-46740  (opens in a new tab)
CWE-330  (opens in a new tab)

How to fix?

Upgrade github.com/cubefs/cubefs/sdk/data/stream to version 3.3.1 or higher.

Overview

Affected versions of this package are vulnerable to Use of Insufficiently Random Values due to the use of an insecure random string generator for creating accessKey. An attacker could predict or guess the generated string and impersonate a user, thereby obtaining unauthorized access and elevated privileges.

CVSS Scores

version 3.1