{"id":"CVE-2020-36067","aliases":["DEBIAN-CVE-2020-36067","EUVD-2023-0752","GHSA-p64j-r5f4-pwwx","GO-2021-0054","UBUNTU-CVE-2020-36067"],"status":"published","title":"Improper Validation of Array Index in GJSON","description":"GJSON \u003c=v1.6.5 allows attackers to cause a denial of service (panic: runtime error: slice bounds out of range) via a crafted GET call.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:N/I:N/PR:N/S:U/UI:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01445,"percentile":0.73468,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-129"],"published":"2021-01-05T20:41:05Z","modified":"2026-10-26T12:02:48Z","fixes":[{"ecosystem":"Go","package":"github.com/tidwall/gjson","fixed_in":["1.6.6"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"golang-github-tidwall-gjson","fixed_in":["1.6.7-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"golang-github-tidwall-gjson","fixed_in":["1.6.7-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"golang-github-tidwall-gjson","fixed_in":["1.6.7-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/tidwall/gjson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.6"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"golang-github-tidwall-gjson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.7-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"golang-github-tidwall-gjson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.7-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"golang-github-tidwall-gjson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.7-1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/tidwall/gjson","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.6"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/tidwall/gjson","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.6"}]}]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"golang-github-tidwall-gjson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.5-2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"golang-github-tidwall-gjson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.7-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"golang-github-tidwall-gjson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.14.4-2","1.17.1-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"golang-github-tidwall-gjson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17.1-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"golang-github-tidwall-gjson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17.1-1","1.19.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"golang-github-tidwall-gjson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17.1-1"]}],"products":[{"vendor":"gjson_project","product":"gjson"}],"references":[{"url":"https://github.com/tidwall/gjson/issues/196","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36067","tags":["advisory"]},{"url":"https://github.com/tidwall/gjson/commit/bf4efcb3c18d1825b2988603dea5909140a5302b","tags":["web","fix","report"]},{"url":"https://pkg.go.dev/vuln/GO-2021-0054","tags":["web"]},{"url":"https://github.com/advisories/GHSA-p64j-r5f4-pwwx"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-36067","tags":["advisory"]},{"url":"https://github.com/tidwall/gjson","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2020-36067","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-36067","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-36067","description":"GJSON \u003c=v1.6.5 allows attackers to cause a denial of service (panic: runtime error: slice bounds out of range) via a crafted GET call.","status":"published","published":"2021-01-05T20:41:05Z","modified":"2024-08-04T17:16:14.1Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:N/I:N/PR:N/S:U/UI:N","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:35:55.128961Z"}],"euvd":[{"id":"EUVD-2023-0752","description":"GJSON \u003c=v1.6.5 allows attackers to cause a denial of service (panic: runtime error: slice bounds out of range) via a crafted GET call.","status":"published","published":"2021-01-05T20:41:05Z","modified":"2024-08-04T17:16:14Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:N/I:N/PR:N/S:U/UI:N","level":"high"}],"updated_at":"2026-11-03T03:07:04.065361Z"}],"ghsa":[{"id":"GHSA-p64j-r5f4-pwwx","title":"Improper Validation of Array Index in GJSON","description":"GJSON \u003c 1.6.6 allows attackers to cause a denial of service (panic: runtime error: slice bounds out of range) via a crafted GET call.","status":"published","published":"2023-02-06T23:38:18Z","modified":"2023-02-06T23:38:21Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-129"],"updated_at":"2026-11-02T14:36:44.093794Z"}],"nvd":[{"id":"CVE-2020-36067","description":"GJSON \u003c=v1.6.5 allows attackers to cause a denial of service (panic: runtime error: slice bounds out of range) via a crafted GET call.","status":"published","published":"2021-01-05T21:15:15.053Z","modified":"2026-06-17T03:14:45.94Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-129"],"updated_at":"2026-11-02T14:06:28.892872Z"}],"osv":[{"id":"CVE-2020-36067","description":"GJSON \u003c=v1.6.5 allows attackers to cause a denial of service (panic: runtime error: slice bounds out of range) via a crafted GET call.","status":"published","published":"2021-01-05T21:15:15.053Z","modified":"2026-10-20T10:54:20.380436926Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:16.612899Z"},{"id":"DEBIAN-CVE-2020-36067","description":"GJSON \u003c=v1.6.5 allows attackers to cause a denial of service (panic: runtime error: slice bounds out of range) via a crafted GET call.","status":"published","published":"2021-01-05T21:15:15.053Z","modified":"2026-10-26T12:02:48.510016157Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:34.019707Z"},{"id":"GHSA-p64j-r5f4-pwwx","title":"Improper Validation of Array Index in GJSON","description":"GJSON \u003c 1.6.6 allows attackers to cause a denial of service (panic: runtime error: slice bounds out of range) via a crafted GET call.","status":"published","published":"2023-02-06T23:38:18Z","modified":"2023-11-08T04:03:40.257941Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-129"],"updated_at":"2026-11-02T15:46:52.891208Z"},{"id":"UBUNTU-CVE-2020-36067","description":"GJSON \u003c=v1.6.5 allows attackers to cause a denial of service (panic: runtime error: slice bounds out of range) via a crafted GET call.","status":"published","published":"2021-01-05T21:15:00Z","modified":"2026-10-17T12:55:53.266274075Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:25.179924Z"},{"id":"GO-2021-0054","title":"Panic due to improper input validation in ForEach in github.com/tidwall/gjson","description":"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.","status":"published","published":"2021-04-14T20:04:52Z","modified":"2024-05-20T16:03:47Z","updated_at":"2026-11-02T15:47:00.604718Z"}]}}
