blob: 36f4d39571a8e560f0b0bdef6bf45cc98c1e3ee0 [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2021-0057",
"modified": "0001-01-01T00:00:00Z",
"published": "2021-04-14T20:04:52Z",
"aliases": [
"CVE-2020-35381",
"GHSA-8vrw-m3j9-j27c"
],
"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.",
"affected": [
{
"package": {
"name": "github.com/buger/jsonparser",
"ecosystem": "Go"
},
"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"
]
}
]
}
}
],
"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"
}
],
"credits": [
{
"name": "@toptotu"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2021-0057",
"review_status": "REVIEWED"
}
}