Lucene search

K
osvGoogleOSV:GO-2024-2955
HistoryJul 02, 2024 - 7:23 p.m.

Gin mishandles a wildcard in the origin string in github.com/gin-contrib/cors

2024-07-0219:23:53
Google
osv.dev
7
gin-gonic
cors
wildcard
origin string
github repository
software

7.1 High

AI Score

Confidence

High

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/* .

CPENameOperatorVersion
github.com/gin-contrib/corslt1.6.0

7.1 High

AI Score

Confidence

High