blob: 2c22eb65230f953bb99c05c0d9057c007b6954ae [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2023-1792",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2018-20744",
"GHSA-927h-x4qj-r242"
],
"summary": "Insecure wildcard CORS policy in github.com/rs/cors",
"details": "The CORS handler actively converts a wildcard CORS policy into reflecting an arbitrary Origin header value, which is incompatible with the CORS security design, and could lead to CORS misconfiguration security problems.",
"affected": [
{
"package": {
"name": "github.com/rs/cors",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.5.0"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "github.com/rs/cors",
"symbols": [
"AllowAll",
"Cors.HandlerFunc",
"Cors.ServeHTTP",
"Cors.handlePreflight",
"Default",
"New"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://github.com/rs/cors/pull/57"
},
{
"type": "REPORT",
"url": "https://github.com/rs/cors/issues/55"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2023-1792",
"review_status": "REVIEWED"
}
}