VDB
Sign up
MEDIUM5.3

GHSA-2cf2-2383-h4jv

Improperly Controlled Modification of Dynamically-Determined Object Attributes in querymen

Quick fix

GHSA-2cf2-2383-h4jv — querymen: upgrade to the fixed version with the command below.

npm install querymen@2.1.4

Details

querymen prior to 2.1.4 allows modification of object properties. The parameters of exported function handler(type, name, fn) can be controlled by users without any sanitization. This could be abused for Prototype Pollution attacks.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/querymen
Introduced in: 0Fixed in: 2.1.4
Fixnpm install querymen@2.1.4

References