| { |
| "schema_version": "1.3.1", |
| "id": "GO-2021-0059", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "2021-04-14T20:04:52Z", |
| "aliases": [ |
| "CVE-2020-35380", |
| "GHSA-w942-gw6m-p62c" |
| ], |
| "summary": "Panic due to improper input validation in Get in github.com/tidwall/gjson", |
| "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.", |
| "affected": [ |
| { |
| "package": { |
| "name": "github.com/tidwall/gjson", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| }, |
| { |
| "fixed": "1.6.4" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "github.com/tidwall/gjson", |
| "symbols": [ |
| "Get", |
| "GetBytes", |
| "GetMany", |
| "GetManyBytes", |
| "Result.Array", |
| "Result.Get", |
| "Result.Map", |
| "Result.Value", |
| "squash" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "FIX", |
| "url": "https://github.com/tidwall/gjson/commit/f0ee9ebde4b619767ae4ac03e8e42addb530f6bc" |
| }, |
| { |
| "type": "WEB", |
| "url": "https://github.com/tidwall/gjson/issues/192" |
| } |
| ], |
| "credits": [ |
| { |
| "name": "@toptotu" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2021-0059", |
| "review_status": "REVIEWED" |
| } |
| } |