зеркало из https://github.com/golang/vulndb.git
80 строки
2.0 KiB
JSON
80 строки
2.0 KiB
JSON
{
|
|
"schema_version": "1.3.1",
|
|
"id": "GO-2024-2955",
|
|
"modified": "0001-01-01T00:00:00Z",
|
|
"published": "0001-01-01T00:00:00Z",
|
|
"aliases": [
|
|
"CVE-2019-25211",
|
|
"GHSA-869c-j7wc-8jqv"
|
|
],
|
|
"summary": "Gin mishandles a wildcard in the origin string in github.com/gin-contrib/cors",
|
|
"details": "Gin-Gonic CORS middleware mishandles a wildcard at the end of an origin string. Examples: https://example.community/* is accepted by the origin string https://example.com/* and http://localhost.example.com/* is accepted by the origin string http://localhost/* .",
|
|
"affected": [
|
|
{
|
|
"package": {
|
|
"name": "github.com/gin-contrib/cors",
|
|
"ecosystem": "Go"
|
|
},
|
|
"ranges": [
|
|
{
|
|
"type": "SEMVER",
|
|
"events": [
|
|
{
|
|
"introduced": "0"
|
|
},
|
|
{
|
|
"fixed": "1.6.0"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ecosystem_specific": {
|
|
"imports": [
|
|
{
|
|
"path": "github.com/gin-contrib/cors",
|
|
"symbols": [
|
|
"Config.parseWildcardRules",
|
|
"Default",
|
|
"New"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"type": "ADVISORY",
|
|
"url": "https://github.com/advisories/GHSA-869c-j7wc-8jqv"
|
|
},
|
|
{
|
|
"type": "FIX",
|
|
"url": "https://github.com/gin-contrib/cors/commit/27b723a473efd80d5a498fa9f5933c80204c850d"
|
|
},
|
|
{
|
|
"type": "FIX",
|
|
"url": "https://github.com/gin-contrib/cors/pull/106"
|
|
},
|
|
{
|
|
"type": "FIX",
|
|
"url": "https://github.com/gin-contrib/cors/pull/57"
|
|
},
|
|
{
|
|
"type": "WEB",
|
|
"url": "https://github.com/gin-contrib/cors/compare/v1.5.0...v1.6.0"
|
|
},
|
|
{
|
|
"type": "WEB",
|
|
"url": "https://github.com/gin-contrib/cors/releases/tag/v1.6.0"
|
|
}
|
|
],
|
|
"credits": [
|
|
{
|
|
"name": "@maxshine"
|
|
}
|
|
],
|
|
"database_specific": {
|
|
"url": "https://pkg.go.dev/vuln/GO-2024-2955",
|
|
"review_status": "REVIEWED"
|
|
}
|
|
} |