Intel

AIKIDO-2024-10062

@microsoft/dynamicproto-js is vulnerable to Prototype Pollution

Prototype Pollution Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Apr 29, 2024

45

Medium Risk

This Affects:

JS@microsoft/dynamicproto-js
1.0.0 - 1.1.9
Fixed in 1.1.10
2.0.0 - 2.0.2
Fixed in 2.0.3
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to prototype pollution due to improper validation in the _isDynamicCandidate() and _populatePrototype() functions, as well as improper object creation.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@microsoft/dynamicproto-js is vulnerable to Prototype Pollution in versions 2.0.0 - 2.0.2 and 1.0.0 - 1.1.9.

How to fix this

Upgrade the @microsoft/dynamicproto-js library to the patch version.