{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-36564","id":"CVE-2020-36564","title":"Improper input validation in github.com/justinas/nosurf","description":"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.","descriptionLong":"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.","published":"2022-12-27T21:13:31.590Z","updated":"2026-10-20T10:54:21.424426811Z","reserved":"2022-07-29T18:39:05.265Z","status":"Modified","rejected":false,"assigner":"Go","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","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:H/A:N","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:H/A:N","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","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:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["github.com/justinas/nosurf"],"affectedProducts":[{"vendor":"github.com/justinas/nosurf","product":"github.com/justinas/nosurf","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"1.1.1","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/justinas/nosurf","purl":"pkg:golang/github.com/justinas/nosurf","ranges":["<1.1.1"],"fixed":["1.1.1"],"advisory":"GHSA-5x84-q523-vvwr"}],"cwes":["CWE-20"],"aliases":["GHSA-5x84-q523-vvwr","GO-2020-0049"],"references":[{"url":"https://github.com/justinas/nosurf/pull/60","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/justinas/nosurf/commit/4d86df7a4affa1fa50ab39fb09aac56c3ce9c314","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0049","tags":["x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36564","tags":["advisory"]},{"url":"https://github.com/justinas/nosurf","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00783,"epssPercentile":0.56806,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-36564","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36564","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-36564","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5x84-q523-vvwr","ok":true,"note":"GHSA-5x84-q523-vvwr"},{"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-2020-36564","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}