Skip to content
Heist/ feed
Back to feed
High

golang-github-tidwall-gjson — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2020-36067

GJSON <=v1.6.5 allows attackers to cause a denial of service (panic: runtime error: slice bounds out of range) via a crafted GET call.

Products
golang-github-tidwall-gjson
Affected versions
1.1.5-2, 1.14.4-2, 1.17.1-1, 1.19.0-1, 1.6.7-1
Fixed versions
Not specified
CVEs
CVE-2020-36067
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:38 UTC · Revision 1

Source evidence

UBUNTU-CVE-2020-36067

core-osv · Original source

Published 5 Jan 2021, 21:15 UTC

GJSON <=v1.6.5 allows attackers to cause a denial of service (panic: runtime error: slice bounds out of range) via a crafted GET call.

osv:UBUNTU-CVE-2020-36067

golang-github-tidwall-gjson

Fixed versions: Not specified

golang-github-tidwall-gjson

Fixed versions: Not specified

golang-github-tidwall-gjson

Fixed versions: Not specified

golang-github-tidwall-gjson

Fixed versions: Not specified

golang-github-tidwall-gjson

Fixed versions: Not specified

golang-github-tidwall-gjson

Fixed versions: Not specified

Complete source record
{
  "id": "3e17e7251ac4fafe1dc3e7dbd0ffc0f80aa758e1285edc8de001d0cd3bc65f93",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2020-36067",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2020-36067",
    "summary": "GJSON <=v1.6.5 allows attackers to cause a denial of service (panic: runtime error: slice bounds out of range) via a crafted GET call.",
    "evidence": "osv:UBUNTU-CVE-2020-36067",
    "products": [
      {
        "name": {
          "value": "golang-github-tidwall-gjson",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.1.5-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-tidwall-gjson",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.6.7-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-tidwall-gjson",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.14.4-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.17.1-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-tidwall-gjson",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.17.1-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-tidwall-gjson",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.17.1-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.19.0-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-tidwall-gjson",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.17.1-1",
            "evidence": "/affected/5/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2020-36067",
      "aliases": [
        "UBUNTU-CVE-2020-36067"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-tidwall-gjson",
            "purl": "pkg:deb/ubuntu/golang-github-tidwall-gjson?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.1.5-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36067.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-tidwall-gjson-dev",
                "binary_version": "1.1.5-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-tidwall-gjson",
            "purl": "pkg:deb/ubuntu/golang-github-tidwall-gjson?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.6.7-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36067.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-tidwall-gjson-dev",
                "binary_version": "1.6.7-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-tidwall-gjson",
            "purl": "pkg:deb/ubuntu/golang-github-tidwall-gjson?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.14.4-2",
            "1.17.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36067.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-tidwall-gjson-dev",
                "binary_version": "1.17.1-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-tidwall-gjson",
            "purl": "pkg:deb/ubuntu/golang-github-tidwall-gjson?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.17.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36067.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-tidwall-gjson-dev",
                "binary_version": "1.17.1-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-tidwall-gjson",
            "purl": "pkg:deb/ubuntu/golang-github-tidwall-gjson?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.17.1-1",
            "1.19.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36067.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-tidwall-gjson-dev",
                "binary_version": "1.19.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-tidwall-gjson",
            "purl": "pkg:deb/ubuntu/golang-github-tidwall-gjson?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.17.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36067.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-tidwall-gjson-dev",
                "binary_version": "1.17.1-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:55:53.266274075Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-36067"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2020-36067",
        "https://github.com/tidwall/gjson/issues/196",
        "https://github.com/tidwall/gjson/commit/bf4efcb3c18d1825b2988603dea5909140a5302b",
        "https://www.cve.org/CVERecord?id=CVE-2020-36067"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2020-36067",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 354224,
  "published_at": "2021-01-05T21:15:00+00:00"
}