# CVE-2023-46740: Insecure random string generator used for sensitive data

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-01-03 · Modified: 2025-06-17
- Aliases: GHSA-4248-p65p-hcrm, GO-2024-2431
- Record: https://cvemate.com/vulnerability/CVE-2023-46740 · JSON: https://cvemate.com/vulnerability/CVE-2023-46740/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.439%, percentile 39.944%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- cubefs cubefs: \< 3.3.1
- github.com/cubefs cubefs (Go): \< 3.3.1 \| All versions (No fix recorded)
- linuxfoundation cubefs: \< 3.3.1

## References

- <https://github.com/cubefs/cubefs/security/advisories/GHSA-4248-p65p-hcrm>
- <https://github.com/cubefs/cubefs/commit/8555c6402794cabdf2cc025c8bea1576122c07ba>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-46740>
- <https://github.com/cubefs/cubefs>

---

Data as of 2026-12-05T04:50:52.963Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
