{"id":"CVE-2021-42836","details":"GJSON before 1.9.3 allows a ReDoS (regular expression denial of service) attack.","aliases":["CVE-2021-42248","GHSA-c9gm-7rfj-8w5h","GHSA-ppj4-34rq-v8j9","GO-2021-0265"],"modified":"2026-03-15T22:42:08.441598Z","published":"2021-10-22T18:15:14.897Z","references":[{"type":"ADVISORY","url":"https://github.com/tidwall/gjson/compare/v1.9.2...v1.9.3"},{"type":"REPORT","url":"https://github.com/tidwall/gjson/issues/236"},{"type":"FIX","url":"https://github.com/tidwall/gjson/issues/237"},{"type":"FIX","url":"https://github.com/tidwall/gjson/commit/590010fdac311cc8990ef5c97448d4fec8f29944"},{"type":"FIX","url":"https://github.com/tidwall/gjson/commit/77a57fda87dca6d0d7d4627d512a630f89a91c96"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tidwall/gjson","events":[{"introduced":"0"},{"fixed":"77a57fda87dca6d0d7d4627d512a630f89a91c96"},{"fixed":"590010fdac311cc8990ef5c97448d4fec8f29944"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.9.3"}]}}],"versions":["v1.0.0","v1.0.1","v1.0.2","v1.0.3","v1.0.4","v1.0.5","v1.0.6","v1.1.0","v1.1.1","v1.1.2","v1.1.3","v1.1.4","v1.1.5","v1.1.6","v1.2.0","v1.2.1","v1.2.2","v1.3.0","v1.3.1","v1.3.2","v1.3.3","v1.3.4","v1.3.5","v1.3.6","v1.4.0","v1.5.0","v1.6.0","v1.6.1","v1.6.2","v1.6.3","v1.6.4","v1.6.5","v1.6.6","v1.6.7","v1.6.8","v1.7.0","v1.7.1","v1.7.2","v1.7.3","v1.7.4","v1.7.5","v1.8.0","v1.8.1","v1.9.0","v1.9.1","v1.9.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-42836.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}