Advisory

GHSA-ppj4-34rq-v8j9

Also known as: CVE-2021-42248, CVE-2021-42836, GHSA-c9gm-7rfj-8w5h, GO-2021-0265

Summary

github.com/tidwall/gjson Vulnerable to REDoS attack

Details

GJSON is a Go package that provides a fast and simple way to get values from a json document. GJSON before 1.9.3 allows a ReDoS (regular expression denial of service) attack.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-10-25 19:43 UTC
Modified
2024-05-20 20:41 UTC

Affected packages and fixes

github.com/tidwall/gjson

Go · All systems

Affected

  • introduced 0, fixed 1.9.3 (semver)

Fixed versions

1.9.3

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