GitHub Advisoryadvisory · Go

GHSA-4248-p65p-hcrm Insecure random string generator used for sensitive data

HIGH Published 2024-01-03 Modified 2024-11-18 Official page ↗
Aliases
CVE-2023-46740
Ecosystem
Go
Packages
github.com/cubefs/cubefs
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
Weaknesses
CWE-330
Reviewed
2024-01-03

Affected packages

• Go github.com/cubefs/cubefs: < 3.3.1 → fixed in 3.3.1

Description

CubeFS used an insecure random string generator to generate user-specific, sensitive keys used to authenticate users in a CubeFS deployment. This could allow an attacker to predict and/or guess the generated string and impersonate a user thereby obtaining higher privileges. When CubeFS creates new users, it creates a piece of sensitive information for the user called the “accessKey”. To create the "accesKey", CubeFS uses an insecure string generator which makes it easy to guess and thereby impersonate the created user. An attacker could leverage the predictable random string generator and guess a users access key and impersonate the user to obtain higher privileges. There is no evidence of this vulnerability being exploited in the wild. It was found during a security audit carried out by Ada Logics in collaboration with OSTIF and the CNCF. The issue has been fixed in v3.3.1. There is no other mitigation than to upgrade.

Related

Alias · CVE (1)

  • CVE-2023-46740 CubeFS is an open-source cloud-native file storage system. vulnerability

Weakness · CWE (1)

  • CWE-330 Use of Insufficiently Random Values weakness

References