CVE-2019-25211 – github.com/gin-gonic/gin
Package
Manager: go
Name: github.com/gin-gonic/gin
Vulnerable Version: >=0 <1.6.0
Severity
Level: Critical
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00171 pctl0.38839
Details
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.
Metadata
Created: 2024-06-29T06:31:40Z
Modified: 2025-03-14T21:38:49Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-869c-j7wc-8jqv/GHSA-869c-j7wc-8jqv.json
CWE IDs: ["CWE-346"]
Alternative ID: GHSA-869c-j7wc-8jqv
Finding: F113
Auto approve: 1