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.
References
Configurations
No configuration.
History
14 Mar 2025, 19:15
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-346 |
Information
Published : 2024-06-29 00:15
Updated : 2025-03-14 19:15
NVD link : CVE-2019-25211
Mitre link : CVE-2019-25211
CVE.ORG link : CVE-2019-25211
JSON object : View
Products Affected
No product.
CWE
CWE-346
Origin Validation Error