CVE-2020-36066
HIGH 7.5CVSS 3.1github.com/tidwall/gjson is vulnerable to Denial of service
GJSON <1.6.5 allows attackers to cause a denial of service (remote) via crafted JSON.
- Published
- 5 Jan 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-wjm3-fq3r-5x46GO-2022-0957
- Sources
- NVDJSONOSV GHSA-wjm3-fq3r-5x46JSONOSV GO-2022-0957JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gjson_project | gjsoncpe:2.3:a:gjson_project:gjson:*:*:*:*:*:*:*:* |
< 1.6.5 | 1.6.5 |
| OSV | Go | github.com/tidwall/gjson | < 1.6.5 | 1.6.5 |
References
- https://github.com/tidwall/gjson/issues/195 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-36066 · ADVISORY
- https://github.com/tidwall/gjson/issues/195#issuecomment-755303148 · WEB
- https://github.com/tidwall/gjson/commit/9f58baa7a613f89dfdc764c39e47fd3a15606153 · WEB
- https://github.com/tidwall/match/commit/c2f534168b739a7ec1821a33839fb2f029f26bbc · WEB, FIX
- https://github.com/tidwall/gjson · PACKAGE
- https://pkg.go.dev/vuln/GO-2022-0957 · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 5 Jan 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 May 2021)