CVE-2023-46738: Authenticated users can crash the CubeFS servers with maliciously crafted requests
A security vulnerability was found in CubeFS HandlerNode 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.
Published Jan 3, 2024 · Updated Nov 18, 2024
Affected packages
github.com/cubefs/cubefs
- Ecosystem
- Go
- Affected
- < 3.3.1
- Fixed in
- 3.3.1
- Check
go list -m github.com/cubefs/cubefs
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A security vulnerability was found in CubeFS HandlerNode 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. There is no evidence of this attack being exploited in the wild. The vulnerability was found during a security audit carried out by Ada Logics in collaboration with OSTIF and the CNCF.
The issue has been patched in v3.3.1. There is no other mitigation besides upgrading.
Credited to AdamKorcz.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2023-46739
CubeFS timing attack can leak user passwords
high6.5Jan 3, 2024CVE-2023-46740
Insecure random string generator used for sensitive data
high6.5Jan 3, 2024CVE-2023-46741
CubeFS leaks magic secret key when starting Blobstore access service
medium4.8Jan 3, 2024CVE-2023-46742
CubeFS leaks users key in logs
medium4.8Jan 3, 2024
