CVE-2023-3696 Prototype Pollution in automattic/mongoose

Critical 10.0 Published Updated

Prototype pollution in Mongoose allows attackers to manipulate object prototypes, potentially leading to code execution or privilege escalation.

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

CVE-2023-3696 is a critical vulnerability in automattic/mongoose, published on 17 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Prototype Pollution in GitHub repository automattic/mongoose prior to 7.3.4.

Weakness: CWE-1321

Which versions are affected by CVE-2023-3696?

7 open source packages ship an affected version, including mongoose. It affects 1 product.

PackageAffectedFixed in
mongoose BitnamiAll versions5.13.20, 6.11.3, 7.3.4
mongoose npmAll versions5.13.20
mongoose npmAll versions5.13.20
mongoose npmFrom 6.0.06.11.3
mongoose npmFrom 6.0.06.11.3
mongoose npmFrom 7.0.07.3.3
1 more packages
mongoose npmFrom 7.0.07.3.3

Products include Mongoosejs Mongoose.

How do I fix CVE-2023-3696?

Upgrade mongoose to a fixed version for your release line: 5.13.20, 6.11.3, 7.3.4 or 7.3.3.

Is CVE-2023-3696 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-3696 exists.

Sources

Also known as BIT-mongoose-2023-3696, GHSA-9m93-w8w6-76hh, ROOT-APP-NPM-CVE-2023-3696.

Is CVE-2023-3696 in your software?

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

Check your SBOMs for free