Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-36564

Due to improper validation of caller input, validation is silently disabled if the provided expected token is malformed, causing any user supplied token to be considered valid.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-36564
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:28 UTC · Revision 1

Source evidence

CVE-2020-36564

core-osv · Original source

Published 27 Dec 2022, 22:15 UTC

Due to improper validation of caller input, validation is silently disabled if the provided expected token is malformed, causing any user supplied token to be considered valid.

osv:CVE-2020-36564
Complete source record
{
  "id": "9773c225b07632ae731cd0f7072daa477d8e699fef61a296287e02901e5ce797",
  "url": "https://osv.dev/vulnerability/CVE-2020-36564",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-36564",
    "summary": "Due to improper validation of caller input, validation is silently disabled if the provided expected token is malformed, causing any user supplied token to be considered valid.",
    "evidence": "osv:CVE-2020-36564",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-36564",
      "aliases": [
        "CVE-2020-36564",
        "GHSA-5x84-q523-vvwr",
        "GO-2020-0049"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/justinas/nosurf",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4d86df7a4affa1fa50ab39fb09aac56c3ce9c314"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:nosurf_project:nosurf:*:*:*:*:*:go:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.1.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "4d86df7a4affa1fa50ab39fb09aac56c3ce9c314"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.1.0",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-36564.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:21.424426811Z",
      "provider": "osv",
      "references": [
        "https://pkg.go.dev/vuln/GO-2020-0049",
        "https://github.com/justinas/nosurf/commit/4d86df7a4affa1fa50ab39fb09aac56c3ce9c314",
        "https://github.com/justinas/nosurf/pull/60"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-36564",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385148,
  "published_at": "2022-12-27T22:15:11.673+00:00"
}