GHSA-4248-p65p-hcrm

Suggest an improvement
Source
https://github.com/advisories/GHSA-4248-p65p-hcrm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-4248-p65p-hcrm/GHSA-4248-p65p-hcrm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4248-p65p-hcrm
Aliases
Related
Published
2024-01-03T16:14:08Z
Modified
2024-11-18T16:26:34Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L CVSS Calculator
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:L/SI:L/SA:L CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2024-01-03T17:15:10Z",
    "cwe_ids": [
        "CWE-330"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-01-03T16:14:08Z"
}
References

Affected packages

Go / github.com/cubefs/cubefs

Package

Name
github.com/cubefs/cubefs
View open source insights on deps.dev
Purl
pkg:golang/github.com/cubefs/cubefs

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3.1