{"cve":"CVE-2021-42836","nvd":{"published":"2021-10-22T18:15:14.897","modified":"2026-06-17T04:10:11.053","status":"Modified","description":"GJSON before 1.9.3 allows a ReDoS (regular expression denial of service) attack.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-400"],"references":["https://github.com/tidwall/gjson/commit/590010fdac311cc8990ef5c97448d4fec8f29944","https://github.com/tidwall/gjson/commit/77a57fda87dca6d0d7d4627d512a630f89a91c96","https://github.com/tidwall/gjson/compare/v1.9.2...v1.9.3","https://github.com/tidwall/gjson/issues/236","https://github.com/tidwall/gjson/issues/237"],"products":["gjson_project:gjson"],"source":"nvd","synced_at":"2026-10-19T21:24:39.218183596+00:00"},"epss":{"cve":"CVE-2021-42836","score":0.02415,"percentile":0.84135,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-ppj4-34rq-v8j9","url":"https://osv.dev/vulnerability/GHSA-ppj4-34rq-v8j9","summary":"github.com/tidwall/gjson Vulnerable to REDoS attack","modified":"2024-05-20T20:41:04Z","packages":[{"ecosystem":"Go","name":"github.com/tidwall/gjson","purl":"pkg:golang/github.com/tidwall/gjson","ranges":["<1.9.3"],"fixed":["1.9.3"]}]},{"id":"GO-2021-0265","url":"https://osv.dev/vulnerability/GO-2021-0265","summary":"Denial of service via maliciously crafted path in github.com/tidwall/gjson","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"github.com/tidwall/gjson","purl":"pkg:golang/github.com/tidwall/gjson","ranges":["<1.9.3"],"fixed":["1.9.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}