Skip to content
OpenAdvisories
High · 7.5 CVE-2020-36067 EUVD-2023-0752GHSA-p64j-r5f4-pwwxGO-2021-0054

Improper Validation of Array Index in GJSON

Published Jan 5, 2021 · Updated Aug 4, 2024 · Assigned by mitre

Description

GJSON <=v1.6.5 allows attackers to cause a denial of service (panic: runtime error: slice bounds out of range) via a crafted GET call.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-github-tidwall-gjson 1.6.7-1 —
Debian 13 golang-github-tidwall-gjson 1.6.7-1 —
Debian 12 golang-github-tidwall-gjson 1.6.7-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 golang-github-tidwall-gjson No fix yet —
Ubuntu 26.04 LTS golang-github-tidwall-gjson No fix yet —
Ubuntu 25.10 golang-github-tidwall-gjson No fix yet —
Ubuntu 24.04 LTS golang-github-tidwall-gjson No fix yet —
Ubuntu 22.04 LTS golang-github-tidwall-gjson No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS golang-github-tidwall-gjson No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/tidwall/gjson < 1.6.6 1.6.6 GHSA-p64j-r5f4-pwwx

Advisories 1

References