github.com/gin-contrib/cors
Affected
- introduced
0, fixed1.6.0(semver)
Fixed versions
1.6.0
Fix
- Fixed version
1.6.0go get github.com/gin-contrib/[email protected]
Advisory
Also known as: CVE-2019-25211, GHSA-869c-j7wc-8jqv
Gin mishandles a wildcard in the origin string in github.com/gin-contrib/cors
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/* .
Not rated by the source.
0, fixed 1.6.0 (semver)1.6.0
1.6.0go get github.com/gin-contrib/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0