Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-869c-j7wc-8jqv: 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.

ghsa
#git

Gin mishandles a wildcard at the end of an origin string

Moderate severity GitHub Reviewed Published Jun 29, 2024 to the GitHub Advisory Database • Updated Jul 1, 2024

Related news

Red Hat Security Advisory 2024-7164-03

Red Hat Security Advisory 2024-7164-03 - The Migration Toolkit for Containers 1.8.4 is now available. Issues addressed include denial of service and password leak vulnerabilities.