GHSA-4248-p65p-hcrm

    Dashboard / Vulnerabilities / GHSA-4248-p65p-hcrm

    GHSA-4248-p65p-hcrm

    Published: 3 Jan 2024Last Modified: 10 Sept 2026

    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](https://adalogics.com/) in collaboration with [OSTIF](https://ostif.org/) and the [CNCF](https://www.cncf.io/). The issue has been fixed in v3.3.1. There is no other mitigation than to upgrade.

    Affected packages

    Package

    Name: github.com/cubefs/cubefs

    Purl: pkg:golang/github.com/cubefs/cubefs

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -3.3.1

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-4248-p65p-hcrm | CVE-DB