GitHub Advisory Database
GHSA-8v9x-9xqg-r8mr
Prototype pollution in json8-merge-patch
Details
Prototype pollution vulnerability in json8-merge-patch npm package < 1.0.3 may allow attackers to inject or modify methods and properties of the global object constructor.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | json8-merge-patch | All versions before 1.0.3 (fixed in 1.0.3) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-8268
- https://github.com/sonnyp/JSON8/issues/113
- https://github.com/sonnyp/JSON8/commit/2e890261b66cbc54ae01d0c79c71b0fd18379e7e#diff-faa7bef039022bc7ca1c613331b2373950ddd3d65ebf25d1699fbdf89773a387
- https://hackerone.com/reports/980649
- https://www.npmjs.com/package/json8-merge-patch