CVE-2023-46740 json
Insecure random string generator used for sensitive data
published 2024-01-03 2 y ago modified 2026-09-10 1 mo ago also GHSA-4248-p65p-hcrm , GO-2024-2431 , EUVD-2024-0236
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 38%
- public exploits
- 0
- none known
Summary
CubeFS is an open-source cloud-native file storage system. Prior to version 3.3.1, 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. The issue has been fixed in v3.3.1. There is no other mitigation than to upgrade.
Patch / fix
- go github.com/cubefs/cubefs 3.3.1
- linuxfoundation cubefs 3.3.1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.44% chance of exploitation in the next 30 days, higher than 38% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/cubefs/cubefs | <3.3.1 all versions |
3.3.1 |
Affected products
- cubefs cubefs
Classification
- Weakness
-
- CWE-330 Use of Insufficiently Random Values
References
-
github.com
/cubefs/cubefs/commit/8555c6402794cabdf2cc025c8bea1576122c07ba
web, patch
-
github.com
/cubefs/cubefs/security/advisories/GHSA-4248-p65p-hcrm
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-46740
advisory
-
github.com
/cubefs/cubefs
package
Sources
- CVE List CVE-2023-46740
- GitHub Advisory GHSA-4248-p65p-hcrm
- NVD CVE-2023-46740
- OSV GO-2024-2431
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.