{"id":"CVE-2020-36066","aliases":["DEBIAN-CVE-2020-36066","EUVD-2021-1221","GHSA-wjm3-fq3r-5x46","GO-2022-0957","UBUNTU-CVE-2020-36066"],"status":"published","title":"github.com/tidwall/gjson is vulnerable to Denial of service","description":"GJSON \u003c1.6.5 allows attackers to cause a denial of service (remote) via crafted JSON.","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.01843,"percentile":0.79172,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2021-01-05T20:41:16Z","modified":"2026-10-26T12:02:48Z","fixes":[{"ecosystem":"Go","package":"github.com/tidwall/gjson","fixed_in":["1.6.5"],"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.5"}]}]},{"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.5"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/tidwall/gjson","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.5"}]}]},{"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/195","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36066","tags":["advisory"]},{"url":"https://github.com/tidwall/gjson/issues/195#issuecomment-755303148","tags":["web"]},{"url":"https://github.com/tidwall/match/commit/c2f534168b739a7ec1821a33839fb2f029f26bbc","tags":["web","fix","report"]},{"url":"https://github.com/tidwall/gjson/commit/9f58baa7a613f89dfdc764c39e47fd3a15606153","tags":["web"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0957","tags":["web"]},{"url":"https://github.com/advisories/GHSA-wjm3-fq3r-5x46"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-36066","tags":["advisory"]},{"url":"https://github.com/tidwall/gjson","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2020-36066","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-36066","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-36066","description":"GJSON \u003c1.6.5 allows attackers to cause a denial of service (remote) via crafted JSON.","status":"published","published":"2021-01-05T20:41:16Z","modified":"2024-08-04T17:16:14.045Z","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-2021-1221","description":"GJSON \u003c1.6.5 allows attackers to cause a denial of service (remote) via crafted JSON.","status":"published","published":"2021-01-05T20:41:16Z","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-wjm3-fq3r-5x46","title":"github.com/tidwall/gjson is vulnerable to Denial of service","description":"GJSON \u003c1.6.5 allows attackers to cause a denial of service (remote) via crafted JSON.","status":"published","published":"2021-05-18T21:07:54Z","modified":"2023-08-30T11:38:18Z","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-400"],"updated_at":"2026-11-02T14:37:02.095916Z"}],"nvd":[{"id":"CVE-2020-36066","description":"GJSON \u003c1.6.5 allows attackers to cause a denial of service (remote) via crafted JSON.","status":"published","published":"2021-01-05T21:15:14.977Z","modified":"2026-06-17T03:14:45.813Z","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"}],"updated_at":"2026-11-02T14:06:28.892872Z"}],"osv":[{"id":"CVE-2020-36066","description":"GJSON \u003c1.6.5 allows attackers to cause a denial of service (remote) via crafted JSON.","status":"published","published":"2021-01-05T21:15:14.977Z","modified":"2026-10-20T10:54:20.486473169Z","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-36066","description":"GJSON \u003c1.6.5 allows attackers to cause a denial of service (remote) via crafted JSON.","status":"published","published":"2021-01-05T21:15:14.977Z","modified":"2026-10-26T12:02:48.535868969Z","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-wjm3-fq3r-5x46","title":"github.com/tidwall/gjson is vulnerable to Denial of service","description":"GJSON \u003c1.6.5 allows attackers to cause a denial of service (remote) via crafted JSON.","status":"published","published":"2021-05-18T21:07:54Z","modified":"2024-05-20T21:31:34Z","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-400"],"updated_at":"2026-11-02T15:46:58.767335Z"},{"id":"UBUNTU-CVE-2020-36066","description":"GJSON \u003c1.6.5 allows attackers to cause a denial of service (remote) via crafted JSON.","status":"published","published":"2021-01-05T21:15:00Z","modified":"2026-10-17T12:55:53.474009745Z","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-2022-0957","title":"Denial of service via maliciously crafted JSON in github.com/tidwall/gjson","description":"A maliciously crafted JSON input can cause a denial of service attack.","status":"published","published":"2022-08-25T06:28:20Z","modified":"2024-05-20T16:03:47Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
