CVE-2020-36067 json
Improper Validation of Array Index in GJSON
published 5y ago modified 4mo ago also GHSA-p64j-r5f4-pwwx , GO-2021-0054 , EUVD-2023-0752
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
GJSON <=v1.6.5 allows attackers to cause a denial of service (panic: runtime error: slice bounds out of range) via a crafted GET call.
Patch / fix
- go github.com/tidwall/gjson 1.6.6
- golang-github-tidwall-gjson Debian 14, Debian 13, Debian 12 1.6.7-1
debian advisories DEBIAN-CVE-2020-36067
Is CVE-2020-36067 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 FencerExploit prediction
1.45% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AC:L/AV:N/A:H/C:N/I:N/PR:N/S:U/UI:N |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/tidwall/gjson | <1.6.6 |
1.6.6 |
Classification
- Weakness
-
- CWE-129 Improper Validation of Array Index
References
-
github.com
/tidwall/gjson/commit/bf4efcb3c18d1825b2988603dea5909140a5302b
web, patch
-
github.com
/tidwall/gjson/issues/196
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-36067
advisory
-
github.com
/tidwall/gjson
package
-
pkg.go.dev
/vuln/GO-2021-0054
web
Sources
- CVE List CVE-2020-36067
- GitHub Advisory GHSA-p64j-r5f4-pwwx
- NVD CVE-2020-36067
- OSV GO-2021-0054
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.