{"id":"GHSA-w942-gw6m-p62c","summary":"Denial of service in GJSON","details":"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.","aliases":["CVE-2020-35380","GO-2021-0059"],"modified":"2024-05-20T19:27:54Z","published":"2021-06-23T17:53:05Z","database_specific":{"github_reviewed_at":"2021-05-12T21:50:06Z","nvd_published_at":null,"cwe_ids":["CWE-400"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35380"},{"type":"WEB","url":"https://github.com/tidwall/gjson/issues/192"},{"type":"WEB","url":"https://github.com/tidwall/gjson/commit/f0ee9ebde4b619767ae4ac03e8e42addb530f6bc"},{"type":"PACKAGE","url":"https://github.com/tidwall/gjson"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2021-0059"}],"affected":[{"package":{"name":"github.com/tidwall/gjson","ecosystem":"Go","purl":"pkg:golang/github.com/tidwall/gjson"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-w942-gw6m-p62c/GHSA-w942-gw6m-p62c.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}