VDB
Sign up
MEDIUM5.3

GHSA-663r-x48j-fg8p

jsonata: Function Binding Prototype Pollution via hasOwnProperty Override

Quick fix

GHSA-663r-x48j-fg8p — jsonata: upgrade to the fixed version with the command below.

npm install jsonata@1.8.8

Details

A weakness has been identified in jsonata-js jsonata up to 2.2.0. The affected element is the function createFrame of the file src/jsonata.js of the component Function Binding Frame System. This manipulation causes improperly controlled modification of object prototype attributes. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/jsonata
Introduced in: 0Fixed in: 1.8.8
Fixnpm install jsonata@1.8.8
npm/jsonata
Introduced in: 2.0.0Fixed in: 2.2.1
Fixnpm install jsonata@2.2.1

References