CVE-2023-46742 CubeFS leaks users key in logs

Medium 4.8 Published Updated

CubeFS leaks user secret keys in logs, allowing lower-privileged users to impersonate higher-privileged users by accessing log files.

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

CVE-2023-46742 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. CubeFS prior to version 3.3.1 was found to leak users secret keys and access keys in the logs in multiple components. When CubeCS creates new users, it leaks the users secret key. This could allow a lower-privileged user with access to the logs to retrieve sensitive information and impersonate other users with higher privileges than themselves. The issue has been patched in v3.3.1. There is no other mitigation than upgrading CubeFS.

Weakness: CWE-532

Which versions are affected by CVE-2023-46742?

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

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

Is CVE-2023-46742 being exploited?

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

Sources

Also known as GHSA-vwch-g97w-hfg2, GO-2024-2434.

Is CVE-2023-46742 in your software?

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

Check your SBOMs for free