{"id":"GO-2021-0057","summary":"Panic due to improper input validation in github.com/buger/jsonparser","details":"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-35381","GHSA-8vrw-m3j9-j27c"],"modified":"2024-05-20T16:03:47Z","published":"2021-04-14T20:04:52Z","database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2021-0057"},"references":[{"type":"FIX","url":"https://github.com/buger/jsonparser/pull/221"},{"type":"FIX","url":"https://github.com/buger/jsonparser/commit/df3ea76ece10095374fd1c9a22a4fb85a44efc42"},{"type":"WEB","url":"https://github.com/buger/jsonparser/issues/219"}],"affected":[{"package":{"name":"github.com/buger/jsonparser","ecosystem":"Go","purl":"pkg:golang/github.com/buger/jsonparser"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.1"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/buger/jsonparser","symbols":["ArrayEach","Delete","EachKey","FuzzDelete","FuzzEachKey","FuzzGetBoolean","FuzzGetFloat","FuzzGetInt","FuzzGetString","FuzzGetUnsafeString","FuzzObjectEach","FuzzSet","Get","GetBoolean","GetFloat","GetInt","GetString","GetUnsafeString","ObjectEach","Set","searchKeys"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2021-0057.json"}}],"schema_version":"1.7.3","credits":[{"name":"@toptotu"}]}