CVE-2021-23395 Prototype Pollution

High 7.3 Published Updated

Prototype pollution in the nedb library allows attackers to modify Object.prototype, 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
None listed

What is CVE-2021-23395?

CVE-2021-23395 is a high-severity vulnerability in nedb, published on 15 Jun 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

This affects all versions of package nedb. The library could be tricked into adding or modifying properties of Object.prototype using a __proto__ or constructor.prototype payload.

Weakness: CWE-1321

Which versions are affected by CVE-2021-23395?

2 open source packages ship an affected version, including nedb. It affects 1 product.

PackageAffectedFixed in
nedb npmAll versions to 1.8.0None
nedb npmAll versions to 1.8.0None

Products include Nedb Project Nedb.

How do I fix CVE-2021-23395?

No fix has been published for CVE-2021-23395 yet. Limit exposure of the affected software until one is available.

Is CVE-2021-23395 being exploited?

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

Sources

Also known as GHSA-339j-hqgx-qrrx.

Is CVE-2021-23395 in your software?

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

Check your SBOMs for free