{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-42836","id":"CVE-2021-42836","title":"Duplicate Advisory: ReDoS via crafted JSON input in GJSON","description":"GJSON before 1.9.3 allows a ReDoS (regular expression denial of service) attack.","descriptionLong":"GJSON before 1.9.3 allows a ReDoS (regular expression denial of service) attack.","published":"2021-10-22T17:22:47.000Z","updated":"2026-10-20T10:54:06.633897465Z","reserved":"2021-10-22T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/tidwall/gjson","purl":"pkg:golang/github.com/tidwall/gjson","ranges":["<1.9.3"],"fixed":["1.9.3"],"advisory":"GHSA-c9gm-7rfj-8w5h"}],"cwes":["CWE-400","CWE-1333","CWE-697"],"aliases":["CVE-2021-42248","GHSA-c9gm-7rfj-8w5h","GHSA-ppj4-34rq-v8j9","GO-2021-0265"],"references":[{"url":"https://github.com/tidwall/gjson/issues/236","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/tidwall/gjson/issues/237","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/tidwall/gjson/commit/77a57fda87dca6d0d7d4627d512a630f89a91c96","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/tidwall/gjson/compare/v1.9.2...v1.9.3","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://github.com/tidwall/gjson/commit/590010fdac311cc8990ef5c97448d4fec8f29944","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42248","tags":["advisory"]},{"url":"https://github.com/tidwall/gjson","tags":["package"]},{"url":"https://pkg.go.dev/vuln/GO-2021-0265","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42836","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02415,"epssPercentile":0.84483,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-42836","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42836","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-42836","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-c9gm-7rfj-8w5h","ok":true,"note":"GHSA-c9gm-7rfj-8w5h"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-ppj4-34rq-v8j9","ok":true,"note":"GHSA-ppj4-34rq-v8j9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-42836","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}