VDB
Sign up
HIGH

GHSA-rrqv-vjrw-hrcr

Arbitrary Code Execution in json-ptr

Quick fix

GHSA-rrqv-vjrw-hrcr — json-ptr: upgrade to the fixed version with the command below.

npm install json-ptr@2.1.0

Details

There is a security vulnerability in `json-ptr` versions prior to v2.1.0 in which an unscrupulous actor may execute arbitrary code. If your code sends un-sanitized user input to json-ptr's .get() method, your project is vulnerable to this injection-style vulnerability.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/json-ptr
Introduced in: 0Fixed in: 2.1.0
Fixnpm install json-ptr@2.1.0

References