Advisory

GHSA-rrqv-vjrw-hrcr

Also known as: None

Summary

Arbitrary Code Execution in json-ptr

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-05-26 19:59 UTC
Modified
2021-05-26 19:57 UTC

Affected packages and fixes

json-ptr

npm · All systems

Affected

  • introduced 0, fixed 2.1.0 (semver)

Fixed versions

2.1.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences