CVE-2023-46738 Authenticated users can crash the CubeFS servers with maliciously crafted requests

Medium 6.5 Published Updated
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.

PackageAffectedFixed in
github.com/cubefs/cubefs GoAll versionsNone
github.com/cubefs/cubefs GoAll versions3.3.1
github.com/cubefs/cubefs GoAll versions3.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.

Sources

Also known as GHSA-qc6v-g3xw-grmx, GO-2024-2430.

Is CVE-2023-46738 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free