CVE-2024-8654 MongoDB Server may access non-initialized region of memory leading to unexpected behaviour

Medium 5.0 Published Updated

Attackers can trigger unexpected behavior or crashes in MongoDB Server by calling internal aggregation stages with zero arguments.

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

CVE-2024-8654 is a medium-severity vulnerability in Mongodb Mongodb, published on 10 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are called in internal aggregation stage. This issue affected MongoDB Server v6.0 version 6.0.3.

Weakness: CWE-908

Which versions are affected by CVE-2024-8654?

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

PackageAffectedFixed in
mongodb BitnamiFrom 6.0.06.0.15

Products include Mongodb Mongodb.

How do I fix CVE-2024-8654?

Upgrade mongodb to 6.0.15 or later.

Is CVE-2024-8654 being exploited?

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

All Mongodb Mongodb vulnerabilities

Sources

Also known as BIT-mongodb-2024-8654, GHSA-pw8j-vg82-pm6c.

Is CVE-2024-8654 in your software?

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

Check your SBOMs for free