- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
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.
Patch / fix
Is GHSA-rrqv-vjrw-hrcr in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | json-ptr | <2.1.0 |
2.1.0 |
Classification
- Weakness
-
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
-
github.com
/418sec/json-ptr/pull/3
web
-
github.com
/flitbit/json-ptr/blob/456a1728b45c8663bb1ac20a249c5fb17495ec6b/README.md#security-vulnerability-prior-to-v210
web
-
github.com
/flitbit/json-ptr/blob/master/src/util.ts%23L174
web
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-1038396
web
-
snyk.io
/vuln/SNYK-JS-JSONPTR-1016939
web
-
huntr.dev
/bounties/2-npm-json-ptr
web
-
npmjs.com
/advisories/1706
web
-
npmjs.com
/package/json-ptr
web
Sources
- GitHub Advisory GHSA-rrqv-vjrw-hrcr
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.