{"id":"CVE-2020-36067","aliases":["CVE-2020-36067","GHSA-p64j-r5f4-pwwx","GO-2021-0054"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Validation of Array Index in GJSON","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","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 v1.6.5 e incluyéndola, permite a atacantes causar una denegación de servicio (pánico: error de tiempo de ejecución: límites de corte fuera de rango) por medio de una llamada GET diseñada","source":"nvd"}],"published":"2021-01-05T20:41:05.000Z","modified":"2026-06-17T03:14:45.940Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AC:L/AV:N/A:H/C:N/I:N/PR:N/S:U/UI:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AC:L/AV:N/A:H/C:N/I:N/PR:N/S:U/UI:N","score":7.5,"rating":"HIGH"},{"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-129"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.6.6"}],"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.6"}],"ecosystem":"Go","package":"github.com/tidwall/gjson","purl":"pkg:golang/github.com/tidwall/gjson","source":"go"},{"ranges":[{"status":"affected","lastAffected":"1.6.5"}],"vendor":"gjson_project","product":"gjson","cpe":"cpe:2.3:a:gjson_project:gjson:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/tidwall/gjson/issues/196","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36067","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/tidwall/gjson/commit/bf4efcb3c18d1825b2988603dea5909140a5302b","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/tidwall/gjson","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2021-0054","tags":["web"],"sources":["ghsa"]}],"credits":["@toptotu"],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-36067","url":"https://www.cve.org/CVERecord?id=CVE-2020-36067","licence":"CVE Terms of Use","modified":"2024-08-04T17:16:14.100Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p64j-r5f4-pwwx","url":"https://github.com/advisories/GHSA-p64j-r5f4-pwwx","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:40.257Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2021-0054","url":"https://pkg.go.dev/vuln/GO-2021-0054","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-36067","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36067","licence":"Public domain","modified":"2026-06-17T03:14:45.940Z"}],"updatedAt":"2026-11-25T22:57:56.883Z","epss":{"score":0.01445,"percentile":0.74045,"date":"2026-12-01T12:00:22.000Z"}}