{"id":"GHSA-ppj4-34rq-v8j9","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.","aliases":["CVE-2021-42248","CVE-2021-42836","GHSA-c9gm-7rfj-8w5h","GO-2021-0265"],"modified":"2024-05-20T20:41:04Z","published":"2021-10-25T19:43:15Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-10-25T18:27:20Z","nvd_published_at":"2021-10-22T18:15:00Z","cwe_ids":["CWE-1333","CWE-400","CWE-697"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42836"},{"type":"WEB","url":"https://github.com/tidwall/gjson/issues/236"},{"type":"WEB","url":"https://github.com/tidwall/gjson/issues/237"},{"type":"WEB","url":"https://github.com/tidwall/gjson/commit/590010fdac311cc8990ef5c97448d4fec8f29944"},{"type":"WEB","url":"https://github.com/tidwall/gjson/commit/77a57fda87dca6d0d7d4627d512a630f89a91c96"},{"type":"PACKAGE","url":"https://github.com/tidwall/gjson"},{"type":"WEB","url":"https://github.com/tidwall/gjson/compare/v1.9.2...v1.9.3"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2021-0265"}],"affected":[{"package":{"name":"github.com/tidwall/gjson","ecosystem":"Go","purl":"pkg:golang/github.com/tidwall/gjson"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.9.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-ppj4-34rq-v8j9/GHSA-ppj4-34rq-v8j9.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}