CVE-2023-46741 CubeFS leaks magic secret key when starting Blobstore access service

Medium 4.8 Published Updated

Attackers can read sensitive secret keys from logs to perform unauthorized blob operations and escalate privileges in CubeFS.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-46741?

CVE-2023-46741 is a medium-severity vulnerability in cubefs, published on 3 Jan 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

CubeFS is an open-source cloud-native file storage system. A vulnerability was found in CubeFS prior to version 3.3.1 that could allow users to read sensitive data from the logs which could allow them escalate privileges. CubeFS leaks configuration keys in plaintext format in the logs. These keys could allow anyone to carry out operations on blobs that they otherwise do not have permissions for. For example, an attacker that has succesfully retrieved a secret key from the logs can delete blogs from the blob store. The attacker can either be an internal user with limited privileges to read the log, or they can be an external user who has escalated privileges sufficiently to access the logs. The vulnerability has been patched in v3.3.1. There is no other mitigation than upgrading.

Weakness: CWE-200

Which versions are affected by CVE-2023-46741?

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-46741?

Upgrade github.com/cubefs/cubefs to 3.3.1 or later.

Is CVE-2023-46741 being exploited?

There is no known exploitation of CVE-2023-46741 in the wild and no public exploit code.

Sources

Also known as GHSA-8h2x-gr2c-c275, GO-2024-2433.

Is CVE-2023-46741 in your software?

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

Check your SBOMs for free