blob: 42c85e2aa7233835651bc1bfee1bef6f4581c6e1 [file] [log] [blame]
{
"id": "GO-2020-0049",
"published": "2021-04-14T20:04:52Z",
"modified": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2020-36564",
"GHSA-5x84-q523-vvwr"
],
"details": "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.",
"affected": [
{
"package": {
"name": "github.com/justinas/nosurf",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.1"
}
]
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2020-0049"
},
"ecosystem_specific": {
"imports": [
{
"path": "github.com/justinas/nosurf",
"symbols": [
"CSRFHandler.ServeHTTP",
"VerifyToken",
"verifyToken"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://github.com/justinas/nosurf/pull/60"
},
{
"type": "FIX",
"url": "https://github.com/justinas/nosurf/commit/4d86df7a4affa1fa50ab39fb09aac56c3ce9c314"
}
],
"credits": [
{
"name": "@aeneasr"
}
],
"schema_version": "1.3.1"
}