blob: c1f77e893b8eb01451778eb52ec5ddf85a7dd00b [file] [log] [blame]
modules:
- module: github.com/tidwall/gjson
versions:
- fixed: 1.6.4
vulnerable_at: 1.6.3
packages:
- package: github.com/tidwall/gjson
symbols:
- squash
derived_symbols:
- Get
- GetBytes
- GetMany
- GetManyBytes
- Result.Array
- Result.Get
- Result.Map
- Result.Value
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.
published: 2021-04-14T20:04:52Z
cves:
- CVE-2020-35380
ghsas:
- GHSA-w942-gw6m-p62c
credit: '@toptotu'
references:
- fix: https://github.com/tidwall/gjson/commit/f0ee9ebde4b619767ae4ac03e8e42addb530f6bc
- web: https://github.com/tidwall/gjson/issues/192