CVE-2020-35380
7.5high
Denial of service in GJSON
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 1.46% (higher than 74% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-w942-gw6m-p62cGO-2021-0059
Description
GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/tidwall/gjson (Go) | before 1.6.4 | GitHub Advisory Database, Go Vulnerability Database |
| gjson_project gjson | before 1.6.4 | NVD |
All scores
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON.
GitHub Advisory Database
GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON. 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.
Go Vulnerability Database
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.
NVD (es)
GJSON versiones anteriores a 1.6.4, permite a atacantes causar una denegación de servicio por medio de un JSON diseñado
References
| https://github.com/tidwall/gjson/issues/192 | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-35380 | advisory | |
| https://github.com/tidwall/gjson/commit/f0ee9ebde4b619767ae4ac03e8e42addb530f6bc | fix, web | |
| https://github.com/tidwall/gjson | package | |
| https://pkg.go.dev/vuln/GO-2021-0059 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-35380 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-w942-gw6m-p62c changed 2024-05-20 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2021-0059 changed 2024-05-20 | CC-BY-4.0 |
| NVD | CVE-2020-35380 changed 2026-06-17 | Public domain |