github.com/gin-gonic/gin
Affected
- introduced
0, fixed1.6.0(semver)
Fixed versions
1.6.0
Fix
- Fixed version
1.6.0go get github.com/gin-gonic/[email protected]
Advisory
Also known as: CVE-2019-25211, GO-2024-2955
Gin mishandles a wildcard at the end of an origin string
parseWildcardRules in Gin-Gonic CORS middleware before 1.6.0 mishandles a wildcard at the end of an origin string, e.g., https://example.community/* is allowed when the intention is that only https://example.com/* should be allowed, and http://localhost.example.com/* is allowed when the intention is that only http://localhost/* should be allowed.
Critical Basis: The source's own band: CRITICAL
0, fixed 1.6.0 (semver)1.6.0
1.6.0go get github.com/gin-gonic/[email protected]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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0