CVE-2021-3766 Prototype Pollution in vincit/objection.js

High 7.5 Published Updated

Prototype pollution in objection.js allows attackers to modify 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-2021-3766?

CVE-2021-3766 is a high-severity vulnerability in vincit/objection.js, published on 6 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

objection.js is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Weakness: CWE-1321

Which versions are affected by CVE-2021-3766?

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

PackageAffectedFixed in
objection npmAll versions2.2.16
objection npmAll versions2.2.16

Products include Objection Project Objection.

How do I fix CVE-2021-3766?

Upgrade objection to 2.2.16 or later.

Is CVE-2021-3766 being exploited?

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

Sources

Also known as GHSA-r659-8xfp-j327.

Is CVE-2021-3766 in your software?

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

Check your SBOMs for free