Advisory

GHSA-4248-p65p-hcrm

Also known as: CVE-2023-46740, GO-2024-2431

Summary

Insecure random string generator used for sensitive data

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-01-03 16:14 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/cubefs/cubefs

Go · All systems

Affected

  • introduced 0, fixed 3.3.1 (semver)

Fixed versions

3.3.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences