CVE-2023-46738 Authenticated users can crash the CubeFS servers with maliciously crafted requests
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2023-46738?
CVE-2023-46738 is a medium-severity vulnerability in cubefs, published on 3 Jan 2024.
Official description
CubeFS is an open-source cloud-native file storage system. A security vulnerability was found in CubeFS HandlerNode in versions prior to 3.3.1 that could allow authenticated users to send maliciously-crafted requests that would crash the ObjectNode and deny other users from using it. The root cause was improper handling of incoming HTTP requests that could allow an attacker to control the ammount of memory that the ObjectNode would allocate. A malicious request could make the ObjectNode allocate more memory that the machine had available, and the attacker could exhaust memory by way of a single malicious request. An attacker would need to be authenticated in order to invoke the vulnerable code with their malicious request and have permissions to delete objects. In addition, the attacker would need to know the names of existing buckets of the CubeFS deployment - otherwise the request would be rejected before it reached the vulnerable code. As such, the most likely attacker is an inside user or an attacker that has breached the account of an existing user in the cluster. The issue has been patched in v3.3.1. There is no other mitigation besides upgrading.
Weakness: CWE-770
Which versions are affected by CVE-2023-46738?
3 open source packages ship an affected version, including github.com/cubefs/cubefs. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/cubefs/cubefs Go | All versions | None |
github.com/cubefs/cubefs Go | All versions | 3.3.1 |
github.com/cubefs/cubefs Go | All versions | 3.3.1 |
Products include Linuxfoundation Cubefs.
How do I fix CVE-2023-46738?
Upgrade github.com/cubefs/cubefs to 3.3.1 or later.
Is CVE-2023-46738 being exploited?
There is no known exploitation of CVE-2023-46738 in the wild and no public exploit code.
Other vulnerabilities in cubefs
- CVE-2023-46739 Timing attack can leak user passwords
- CVE-2023-46740 Insecure random string generator used for sensitive data
- CVE-2023-30512 CubeFS allows Kubernetes cluster-level privilege escalation
- CVE-2023-46741 CubeFS leaks magic secret key when starting Blobstore access service
- CVE-2023-46742 CubeFS leaks users key in logs
Sources
Also known as GHSA-qc6v-g3xw-grmx, GO-2024-2430.