{
  "schema_version": "1.4.0",
  "id": "GHSA-p64j-r5f4-pwwx",
  "modified": "2023-02-06T23:38:18Z",
  "published": "2023-02-06T23:38:18Z",
  "aliases": [
    "CVE-2020-36067"
  ],
  "summary": "Improper Validation of Array Index in GJSON",
  "details": "GJSON < 1.6.6 allows attackers to cause a denial of service (panic: runtime error: slice bounds out of range) via a crafted GET call.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Go",
        "name": "github.com/tidwall/gjson"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.6.6"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-36067"
    },
    {
      "type": "WEB",
      "url": "https://github.com/tidwall/gjson/issues/196"
    },
    {
      "type": "WEB",
      "url": "https://github.com/tidwall/gjson/commit/bf4efcb3c18d1825b2988603dea5909140a5302b"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/tidwall/gjson"
    },
    {
      "type": "WEB",
      "url": "https://pkg.go.dev/vuln/GO-2021-0054"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-129"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-02-06T23:38:18Z",
    "nvd_published_at": null
  }
}