HighGHSA-p64j-r5f4-pwwxCVE-2020-36067GO-2021-0054
Improper Validation of Array Index in GJSON
Published 6 Feb 2023 · Updated 8 Nov 2023
Is your project on an affected github.com/tidwall/gjson?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <1.6.6
- Fixed in
- 1.6.6
Update to the fixed version for your release line, for example:
go get github.com/tidwall/gjson@v1.6.6Details
GJSON < 1.6.6 allows attackers to cause a denial of service (panic: runtime error: slice bounds out of range) via a crafted GET call.
Is GHSA-p64j-r5f4-pwwx in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/tidwall/gjson, and gives you the command that fixes it.
More advisories for github.com/tidwall/gjson
- LowCVE-2020-36066Denial of service via maliciously crafted JSON in github.com/tidwall/gjson · 25 Aug 2022
- LowCVE-2021-42248Denial of service via maliciously crafted path in github.com/tidwall/gjson · 15 Aug 2022
- HighCVE-2021-42248github.com/tidwall/gjson Vulnerable to REDoS attack · 25 Oct 2021
- HighCVE-2020-35380Denial of service in GJSON · 23 Jun 2021
- HighCVE-2020-36066github.com/tidwall/gjson is vulnerable to Denial of service · 18 May 2021
- LowCVE-2020-35380Panic due to improper input validation in Get in github.com/tidwall/gjson · 14 Apr 2021
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.