CVE-2019-25211

CRITICAL

Gin-Gonic CORS middleware <1.6.0 - SSRF

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 9.1
EPSS 0.0043
EPSS Percentile 34.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-346
Status published
Products (2)
gin-contrib/cors 0 - 1.6.0Go
gin-gonic/gin 0 - 1.6.0Go
Published Jun 29, 2024
Tracked Since Feb 18, 2026