{"id":"CVE-2021-42248","aliases":["CVE-2021-42248","GHSA-c9gm-7rfj-8w5h","GHSA-ppj4-34rq-v8j9","GO-2021-0265"],"related":["CVE-2021-42836"],"kind":"vulnerability","state":"rejected","title":"CVE-2021-42248 (rejected)","summary":"DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: CVE-2021-42836. Reason: This candidate is a duplicate of CVE-2021-42836. Notes: All CVE users should reference CVE-2021-42836 instead of this candidate.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: CVE-2021-42836. Reason: This candidate is a duplicate of CVE-2021-42836. Notes: All CVE users should reference CVE-2021-42836 instead of this candidate.","source":"cvelist"},{"lang":"en","text":"## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-ppj4-34rq-v8j9. This link is maintained to preserve external references.\n\n## Original Description\nGJSON <= 1.9.2 allows attackers to cause a redos via crafted JSON input.","format":"markdown","source":"ghsa"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"A maliciously crafted path can cause Get and other query functions to consume excessive amounts of CPU and time.","format":"markdown","source":"go"},{"lang":"en","text":"Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: CVE-2021-42836. Reason: This candidate is a duplicate of CVE-2021-42836. Notes: All CVE users should reference CVE-2021-42836 instead of this candidate.","source":"nvd"}],"published":"2021-10-25T19:43:15.000Z","modified":"2024-05-20T20:41:04.000Z","severities":[{"scorer":"GitHub","scheme":"CVSS: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,"rating":"HIGH"}],"cwes":["CWE-400","CWE-697","CWE-1333"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.9.3"}],"ecosystem":"Go","package":"github.com/tidwall/gjson","purl":"pkg:golang/github.com/tidwall/gjson","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.9.3"}],"ecosystem":"Go","package":"github.com/tidwall/gjson","purl":"pkg:golang/github.com/tidwall/gjson","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.9.3"}],"ecosystem":"Go","package":"github.com/tidwall/gjson","purl":"pkg:golang/github.com/tidwall/gjson","source":"go"}],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42248","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/tidwall/gjson/issues/236","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/tidwall/gjson/issues/237","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/tidwall/gjson/commit/590010fdac311cc8990ef5c97448d4fec8f29944","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/tidwall/gjson/commit/77a57fda87dca6d0d7d4627d512a630f89a91c96","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/tidwall/gjson","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2021-0265","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42836","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/tidwall/gjson/compare/v1.9.2...v1.9.3","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-42248","url":"https://www.cve.org/CVERecord?id=CVE-2021-42248","licence":"CVE Terms of Use","modified":"2024-05-02T21:39:59.647Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c9gm-7rfj-8w5h","url":"https://github.com/advisories/GHSA-c9gm-7rfj-8w5h","licence":"CC-BY-4.0","modified":"2024-05-19T02:24:21.070Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-ppj4-34rq-v8j9","url":"https://github.com/advisories/GHSA-ppj4-34rq-v8j9","licence":"CC-BY-4.0","modified":"2024-05-20T20:41:04.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2021-0265","url":"https://pkg.go.dev/vuln/GO-2021-0265","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-42248","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42248","licence":"Public domain","modified":"2024-05-02T22:15:07.540Z"}],"updatedAt":"2026-11-25T22:58:07.560Z"}