{"id":"CVE-2020-35380","aliases":["DEBIAN-CVE-2020-35380","EUVD-2021-1416","GHSA-w942-gw6m-p62c","GO-2021-0059","UBUNTU-CVE-2020-35380"],"status":"published","title":"Denial of service in GJSON","description":"GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON.","severity":{"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","from":"nvd"},"epss":{"day":"2026-11-12","score":0.01463,"percentile":0.7399,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2020-12-15T20:12:11Z","modified":"2026-10-26T12:02:48Z","fixes":[{"ecosystem":"Go","package":"github.com/tidwall/gjson","fixed_in":["1.6.4"],"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.4"}]}]},{"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.4"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/tidwall/gjson","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.4"}]}]},{"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/192","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35380","tags":["advisory"]},{"url":"https://github.com/tidwall/gjson/commit/f0ee9ebde4b619767ae4ac03e8e42addb530f6bc","tags":["web","fix","report"]},{"url":"https://pkg.go.dev/vuln/GO-2021-0059","tags":["web"]},{"url":"https://github.com/advisories/GHSA-w942-gw6m-p62c"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-35380","tags":["advisory"]},{"url":"https://github.com/tidwall/gjson","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2020-35380","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-35380","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-35380","description":"GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON.","status":"published","published":"2020-12-15T20:12:11Z","modified":"2024-08-04T17:02:08.034Z","updated_at":"2026-11-02T14:35:57.975444Z"}],"euvd":[{"id":"EUVD-2021-1416","description":"GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON.","status":"published","published":"2020-12-15T20:12:11Z","modified":"2024-08-04T17:02:08Z","updated_at":"2026-11-03T03:07:06.389211Z"}],"ghsa":[{"id":"GHSA-w942-gw6m-p62c","title":"Denial of service in GJSON","description":"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.","status":"published","published":"2021-06-23T17:53:05Z","modified":"2023-08-30T11:40:59Z","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-35380","description":"GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON.","status":"published","published":"2020-12-15T21:15:15.313Z","modified":"2026-06-17T03:13:41.237Z","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":"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:27.73474Z"}],"osv":[{"id":"CVE-2020-35380","description":"GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON.","status":"published","published":"2020-12-15T21:15:15.313Z","modified":"2026-10-20T10:54:19.673829146Z","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-35380","description":"GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON.","status":"published","published":"2020-12-15T21:15:15.313Z","modified":"2026-10-26T12:02:48.530204786Z","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-w942-gw6m-p62c","title":"Denial of service in GJSON","description":"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.","status":"published","published":"2021-06-23T17:53:05Z","modified":"2024-05-20T19:27:54Z","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.401149Z"},{"id":"UBUNTU-CVE-2020-35380","description":"GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON.","status":"published","published":"2020-12-15T21:15:00Z","modified":"2026-10-17T12:56:55.249551588Z","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:54:24.541803Z"},{"id":"GO-2021-0059","title":"Panic due to improper input validation in Get 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"}]}}
