VDB
Sign up
HIGH7.5

GHSA-ppj4-34rq-v8j9

github.com/tidwall/gjson Vulnerable to REDoS attack

Quick fix

GHSA-ppj4-34rq-v8j9 — github.com/tidwall/gjson: upgrade to the fixed version with the command below.

go get github.com/tidwall/gjson@v1.9.3

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/tidwall/gjson
Introduced in: 0Fixed in: 1.9.3
Fixgo get github.com/tidwall/gjson@v1.9.3

References