CVE-2024-6375 Missing authorization check may lead to shard key refinement

Medium 5.4 Published Updated

Missing authorization in shard key refinement allows attackers to degrade performance or leak chunk boundaries via timing side channels.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-6375?

CVE-2024-6375 is a medium-severity missing authorization vulnerability in Mongodb Mongodb, published on 1 Jul 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A command for refining a collection shard key is missing an authorization check. This may cause the command to run directly on a shard, leading to either degradation of query performance, or to revealing chunk boundaries through timing side channels. This affects MongoDB Server v5.0 versions, prior to 5.0.22, MongoDB Server v6.0 versions, prior to 6.0.11 and MongoDB Server v7.0 versions prior to 7.0.3.

Weakness: CWE-862, CWE-285

Which versions are affected by CVE-2024-6375?

1 open source package ship an affected version, including mongodb. It affects 1 product.

PackageAffectedFixed in
mongodb BitnamiFrom 5.0.05.0.22, 6.0.11, 7.0.3

Products include Mongodb Mongodb.

How do I fix CVE-2024-6375?

Upgrade mongodb to a fixed version for your release line: 5.0.22, 6.0.11 or 7.0.3.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-6375 being exploited?

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

All Mongodb Mongodb vulnerabilities

Sources

Also known as BIT-mongodb-2024-6375, GHSA-85f9-vc47-9pr8.

Is CVE-2024-6375 in your software?

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

Check your SBOMs for free