Feed
9.1CRITICAL

CVE-2019-25211Gin mishandles a wildcard at the end of an origin string

A critical-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 0.4% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
0.4%
percentile 29%
Priority
25/100 medium
how it is computed
Fix
Named by a source
CVE published 29 Jun 2024

Reference

None of the "Needs attention" rules apply right now.

EPSS 0.4% (+0) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

Who should check

  • github.com/gin-contrib/cors (Go) pkg:golang/github.com/gin-contrib/cors

    • Affected< 1.6.0Fixed in1.6.0OSV (GO-2024-2955)
  • github.com/gin-gonic/gin (Go) pkg:golang/github.com/gin-gonic/gin

    • Affected< 1.6.0Fixed in1.6.0OSV (GHSA-869c-j7wc-8jqv)

Confirmed facts

CVSS
9.1 CRITICAL (version 3.1)
Score from
GitHub Advisory Database (GHSA-869c-j7wc-8jqv)
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-346

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)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.

Update history

No events recorded. Our history starts on 1 Jan 2025.

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 52 min ago · osv 52 min ago · nvd 52 min ago · epss 52 min ago · JSON · ask via MCP: explain_vulnerability

Also known as GHSA-869c-j7wc-8jqv, GO-2024-2955