GO-2021-0054
Panic due to improper input validation in ForEach in github.com/tidwall/gjson
At a glance
- Published
- Updated
- CVE
- CVE-2020-36067
- Aliases
- GHSA-p64j-r5f4-pwwx
Description
Due to improper bounds checking, maliciously crafted JSON objects can cause an out-of-bounds panic. If parsing user input, this may be used as a denial of service vector.
Affected packages
| Package | Versions |
|---|---|
| Go · github.com/tidwall/gjson | introduced 0, fixed 1.6.6 |
References
- https://github.com/tidwall/gjson/commit/bf4efcb3c18d1825b2988603dea5909140a5302b FIX
- https://github.com/tidwall/gjson/issues/196 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |