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 |
21 Nov 2024, 04:40
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/gin-contrib/cors/commit/27b723a473efd80d5a498fa9f5933c80204c850d - | |
References | () https://github.com/gin-contrib/cors/compare/v1.5.0...v1.6.0 - | |
References | () https://github.com/gin-contrib/cors/pull/106 - | |
References | () https://github.com/gin-contrib/cors/pull/57 - | |
References | () https://github.com/gin-contrib/cors/releases/tag/v1.6.0 - |
01 Aug 2024, 13:41
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 9.1 |
01 Jul 2024, 12:37
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
29 Jun 2024, 00:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
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