2022-09-14 01:40:34 +03:00
{
"id" : "GO-2020-0045" ,
"published" : "2021-04-14T20:04:52Z" ,
"modified" : "0001-01-01T00:00:00Z" ,
"aliases" : [
2023-01-11 00:59:16 +03:00
"CVE-2016-15005" ,
"GHSA-q9qr-jwpw-3qvv"
2022-09-14 01:40:34 +03:00
] ,
2023-01-11 00:59:16 +03:00
"details" : "CSRF tokens are generated using math/rand, which is not a cryptographically secure random number generator, allowing an attacker to predict values and bypass CSRF protections with relatively few requests." ,
2022-09-14 01:40:34 +03:00
"affected" : [
{
"package" : {
"name" : "github.com/dinever/golf" ,
"ecosystem" : "Go"
} ,
"ranges" : [
{
"type" : "SEMVER" ,
"events" : [
{
"introduced" : "0"
} ,
{
"fixed" : "0.3.0"
}
]
}
] ,
"database_specific" : {
"url" : "https://pkg.go.dev/vuln/GO-2020-0045"
} ,
"ecosystem_specific" : {
"imports" : [
{
"path" : "github.com/dinever/golf" ,
"symbols" : [
"Context.Render" ,
"Context.RenderFromString" ,
"randomBytes"
]
}
]
}
}
] ,
"references" : [
{
"type" : "FIX" ,
"url" : "https://github.com/dinever/golf/pull/24"
} ,
{
"type" : "FIX" ,
"url" : "https://github.com/dinever/golf/commit/3776f338be48b5bc5e8cf9faff7851fc52a3f1fe"
} ,
{
2023-01-11 00:59:16 +03:00
"type" : "REPORT" ,
2022-09-14 01:40:34 +03:00
"url" : "https://github.com/dinever/golf/issues/20"
}
2022-10-01 17:10:57 +03:00
] ,
"credits" : [
{
"name" : "@elithrar"
}
2022-11-21 21:47:08 +03:00
] ,
"schema_version" : "1.3.1"
2022-09-14 01:40:34 +03:00
}