GHSA-ppj4-34rq-v8j9
github.com/tidwall/gjson Vulnerable to REDoS attack
At a glance
- Published
- Updated
- CVE
- CVE-2021-42248, CVE-2021-42836
- Aliases
- GHSA-c9gm-7rfj-8w5h, GO-2021-0265
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
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.
Affected packages
| Package | Versions |
|---|---|
| Go · github.com/tidwall/gjson | introduced 0, fixed 1.9.3 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-42836 ADVISORY
- https://github.com/tidwall/gjson/issues/236 WEB
- https://github.com/tidwall/gjson/issues/237 WEB
- https://github.com/tidwall/gjson/commit/590010fdac311cc8990ef5c97448d4fec8f29944 WEB
- https://github.com/tidwall/gjson/commit/77a57fda87dca6d0d7d4627d512a630f89a91c96 WEB
- https://github.com/tidwall/gjson PACKAGE
- https://github.com/tidwall/gjson/compare/v1.9.2...v1.9.3 WEB
- https://pkg.go.dev/vuln/GO-2021-0265 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |