What’s Vulnerable › Vulnerabilities
CVE-2023-46740: Insecure random string generator used for sensitive data
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-01-03 · updated 2026-06-17
- Weakness: CWE-330
Description
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.
Affected products
- cubefs: before 3.3.1 — fixed in 3.3.1
How to fix
Upgrade to a fixed version: cubefs 3.3.1. Check the vendor advisory for mitigations.
References
- https://github.com/cubefs/cubefs/commit/8555c6402794cabdf2cc025c8bea1576122c07ba
- https://github.com/cubefs/cubefs/security/advisories/GHSA-4248-p65p-hcrm
- https://github.com/cubefs/cubefs/commit/8555c6402794cabdf2cc025c8bea1576122c07ba
- https://github.com/cubefs/cubefs/security/advisories/GHSA-4248-p65p-hcrm
Get alerted when CVE-2023-46740 or the next vulnerability affects your stack