high7.5
CVE-2021-42248
Duplicate Advisory: ReDoS via crafted JSON input in GJSON
Impact
## 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 | Fixed in |
|---|---|---|---|
| go | github.com/tidwall/gjson | < 1.9.3 | 1.9.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-c9gm-7rfj-8w5h
- https://nvd.nist.gov/vuln/detail/CVE-2021-42248
- https://github.com/tidwall/gjson/issues/237
- https://github.com/tidwall/gjson/commit/77a57fda87dca6d0d7d4627d512a630f89a91c96
- https://github.com/tidwall/gjson/issues/236
- https://github.com/tidwall/gjson/commit/590010fdac311cc8990ef5c97448d4fec8f29944
- https://pkg.go.dev/vuln/GO-2021-0265