ADVISORIES

Go Vulnerability Database

GO-2021-0059

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 packages

EcosystemPackageAffected versions
Gogithub.com/tidwall/gjson
All versions before 1.6.4 (fixed in 1.6.4)

References