Advisory

GHSA-w942-gw6m-p62c

Also known as: CVE-2020-35380, GO-2021-0059

Summary

Denial of service in GJSON

Details

GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON. 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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-06-23 17:53 UTC
Modified
2024-05-20 19:27 UTC

Affected packages and fixes

github.com/tidwall/gjson

Go · All systems

Affected

  • introduced 0, fixed 1.6.4 (semver)

Fixed versions

1.6.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences