{"id":"CVE-2020-35380","aliases":["CVE-2020-35380","GHSA-w942-gw6m-p62c","GO-2021-0059"],"related":[],"kind":"vulnerability","state":"published","title":"Denial of service in GJSON","summary":"GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"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.","format":"markdown","source":"go"},{"lang":"es","text":"GJSON versiones anteriores a 1.6.4, permite a atacantes causar una denegación de servicio por medio de un JSON diseñado","source":"nvd"}],"published":"2020-12-15T20:12:11.000Z","modified":"2026-06-17T03:13:41.237Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.6.4"}],"ecosystem":"Go","package":"github.com/tidwall/gjson","purl":"pkg:golang/github.com/tidwall/gjson","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.6.4"}],"ecosystem":"Go","package":"github.com/tidwall/gjson","purl":"pkg:golang/github.com/tidwall/gjson","source":"go"},{"ranges":[{"status":"affected","fixed":"1.6.4"}],"vendor":"gjson_project","product":"gjson","cpe":"cpe:2.3:a:gjson_project:gjson:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/tidwall/gjson/issues/192","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35380","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/tidwall/gjson/commit/f0ee9ebde4b619767ae4ac03e8e42addb530f6bc","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/tidwall/gjson","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2021-0059","tags":["web"],"sources":["ghsa"]}],"credits":["@toptotu"],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-35380","url":"https://www.cve.org/CVERecord?id=CVE-2020-35380","licence":"CVE Terms of Use","modified":"2024-08-04T17:02:08.034Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w942-gw6m-p62c","url":"https://github.com/advisories/GHSA-w942-gw6m-p62c","licence":"CC-BY-4.0","modified":"2024-05-20T19:27:54.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2021-0059","url":"https://pkg.go.dev/vuln/GO-2021-0059","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-35380","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35380","licence":"Public domain","modified":"2026-06-17T03:13:41.237Z"}],"updatedAt":"2026-11-25T22:57:56.273Z","epss":{"score":0.01463,"percentile":0.74378,"date":"2026-12-01T12:00:22.000Z"}}