Arbitrary Code Execution in json-ptr
Priority LOW 38CWE-74Published · Updated
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
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.
Why it matters now
Fix Fixed json-ptr (npm): 2.1.0
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | json-ptr (npm) | before 2.1.0 | 2.1.0 | Patch available | GHSA-rrqv-vjrw-hrcr |
- json-ptr (npm) Vendor— Affected before 2.1.0 Fixed in 2.1.0 Patch available GHSA-rrqv-vjrw-hrcr
Remediation
- Fix · GHSA-rrqv-vjrw-hrcr json-ptr (npm) Fixed in 2.1.0 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-rrqv-vjrw-hrcr
References
Other 6
- https://github.com/418sec/json-ptr/pull/3
- https://github.com/flitbit/json-ptr/blob/456a1728b45c8663bb1ac20a249c5fb17495ec6b/README.md#security-vulnerability-prior-to-v210
- https://github.com/flitbit/json-ptr/blob/master/src/util.ts%23L174
- https://www.huntr.dev/bounties/2-npm-json-ptr
- https://www.npmjs.com/advisories/1706
- https://www.npmjs.com/package/json-ptr
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences