CVE-2023-46739 Timing attack can leak user passwords

Medium 6.5 Published Updated

An attacker can steal user passwords from CubeFS master component via timing attacks due to insecure string comparison.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-46739?

CVE-2023-46739 is a medium-severity vulnerability in cubefs, published on 3 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

CubeFS is an open-source cloud-native file storage system. A vulnerability was found during in the CubeFS master component in versions prior to 3.3.1 that could allow an untrusted attacker to steal user passwords by carrying out a timing attack. The root case of the vulnerability was that CubeFS used raw string comparison of passwords. The vulnerable part of CubeFS was the UserService of the master component. The UserService gets instantiated when starting the server of the master component. The issue has been patched in v3.3.1. For impacted users, there is no other way to mitigate the issue besides upgrading.

Weakness: CWE-203

Which versions are affected by CVE-2023-46739?

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

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

Is CVE-2023-46739 being exploited?

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

Sources

Also known as GHSA-8579-7p32-f398, GO-2024-2432.

Is CVE-2023-46739 in your software?

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

Check your SBOMs for free