2022-09-14 01:40:34 +03:00
{
"id" : "GO-2021-0052" ,
"published" : "2021-04-14T20:04:52Z" ,
"modified" : "0001-01-01T00:00:00Z" ,
"aliases" : [
"CVE-2020-28483" ,
"GHSA-h395-qcrw-5vmq"
] ,
2022-10-05 19:05:17 +03:00
"details" : "Due to improper HTTP header santization, a malicious user can spoof their source IP address by setting the X-Forwarded-For header. This may allow a user to bypass IP based restrictions, or obfuscate their true source." ,
2022-09-14 01:40:34 +03:00
"affected" : [
{
"package" : {
"name" : "github.com/gin-gonic/gin" ,
"ecosystem" : "Go"
} ,
"ranges" : [
{
"type" : "SEMVER" ,
"events" : [
{
"introduced" : "0"
} ,
{
"fixed" : "1.7.7"
}
]
}
] ,
"database_specific" : {
"url" : "https://pkg.go.dev/vuln/GO-2021-0052"
} ,
"ecosystem_specific" : {
"imports" : [
{
"path" : "github.com/gin-gonic/gin" ,
"symbols" : [
"Context.ClientIP" ,
"Context.Next" ,
"Context.RemoteIP" ,
"Engine.HandleContext" ,
"Engine.Run" ,
"Engine.RunFd" ,
"Engine.RunListener" ,
"Engine.RunTLS" ,
"Engine.RunUnix" ,
"Engine.ServeHTTP"
]
}
]
}
}
] ,
"references" : [
{
"type" : "REPORT" ,
"url" : "https://github.com/gin-gonic/gin/issues/2862"
} ,
{
"type" : "REPORT" ,
"url" : "https://github.com/gin-gonic/gin/issues/2473"
} ,
{
"type" : "REPORT" ,
"url" : "https://github.com/gin-gonic/gin/issues/2232"
} ,
{
"type" : "FIX" ,
"url" : "https://github.com/gin-gonic/gin/pull/2844"
} ,
{
"type" : "FIX" ,
"url" : "https://github.com/gin-gonic/gin/commit/5929d521715610c9dd14898ebbe1d188d5de8937"
} ,
{
"type" : "FIX" ,
"url" : "https://github.com/gin-gonic/gin/pull/2632"
} ,
{
"type" : "FIX" ,
"url" : "https://github.com/gin-gonic/gin/commit/bfc8ca285eb46dad60e037d57c545cd260636711"
} ,
{
"type" : "FIX" ,
"url" : "https://github.com/gin-gonic/gin/pull/2675"
} ,
{
"type" : "FIX" ,
"url" : "https://github.com/gin-gonic/gin/commit/03e5e05ae089bc989f1ca41841f05504d29e3fd9"
} ,
{
"type" : "WEB" ,
"url" : "https://github.com/gin-gonic/gin/pull/2474"
}
2022-10-01 17:10:57 +03:00
] ,
"credits" : [
{
"name" : "@sorenisanerd"
}
2022-11-21 21:47:08 +03:00
] ,
"schema_version" : "1.3.1"
2022-09-14 01:40:34 +03:00
}