GO-2021-0054

Panic due to improper input validation in ForEach in github.com/tidwall/gjson

At a glance

Published
Updated
CVE
CVE-2020-36067
Aliases
GHSA-p64j-r5f4-pwwx

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.

Affected packages

PackageVersions
Go · github.com/tidwall/gjsonintroduced 0, fixed 1.6.6

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database