GitHub Advisory Database
GHSA-c9gm-7rfj-8w5h
Duplicate Advisory: ReDoS via crafted JSON input in GJSON
This advisory was withdrawn on 3 May 2024.
Details
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-ppj4-34rq-v8j9. This link is maintained to preserve external references.
Original Description
GJSON <= 1.9.2 allows attackers to cause a redos via crafted JSON input.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/tidwall/gjson | All versions before 1.9.3 (fixed in 1.9.3) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-42248
- https://github.com/tidwall/gjson/issues/236
- https://github.com/tidwall/gjson/issues/237
- https://github.com/tidwall/gjson/commit/590010fdac311cc8990ef5c97448d4fec8f29944
- https://github.com/tidwall/gjson/commit/77a57fda87dca6d0d7d4627d512a630f89a91c96
- https://github.com/tidwall/gjson
- https://pkg.go.dev/vuln/GO-2021-0265