GHSA-rrqv-vjrw-hrcr

Suggest an improvement
Source
https://github.com/advisories/GHSA-rrqv-vjrw-hrcr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-rrqv-vjrw-hrcr/GHSA-rrqv-vjrw-hrcr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rrqv-vjrw-hrcr
Published
2021-05-26T19:59:19Z
Modified
2021-05-26T19:57:10Z
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.

Database specific
{
    "cwe_ids":  [
        "CWE-74"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-05-26T19:57:10Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / json-ptr

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.1.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-rrqv-vjrw-hrcr/GHSA-rrqv-vjrw-hrcr.json"