FKIE_CVE-2019-25211
Vulnerability from fkie_nvd - Published: 2024-06-29 00:15 - Updated: 2026-06-17 02:31
Severity
Summary
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
Impacted products
| Vendor | Product | Version |
|---|
{
"affected": [
{
"affectedData": [
{
"product": "n/a",
"vendor": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"source": "cve@mitre.org"
},
{
"affectedData": [
{
"cpes": [
"cpe:2.3:a:gin-contrib:cors:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unknown",
"product": "cors",
"vendor": "gin-contrib",
"versions": [
{
"lessThan": "1.6.0",
"status": "affected",
"version": "0",
"versionType": "custom"
}
]
}
],
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "parseWildcardRules en el middleware CORS de Gin-Gonic anterior a la 1.6.0 maneja incorrectamente un comod\u00edn al final de una cadena de origen, por ejemplo, se permite https://example.community/* cuando la intenci\u00f3n es que solo se deber\u00eda permitir https://example.com/*, y se permite http://localhost.example.com/* cuando la intenci\u00f3n es que solo se deber\u00eda permitir http://localhost/*."
}
],
"id": "CVE-2019-25211",
"lastModified": "2026-06-17T02:31:45.350",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 9.1,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 5.2,
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary"
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2019-25211",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-07-09T15:33:30.863031Z",
"version": "2.0.3"
}
}
]
},
"published": "2024-06-29T00:15:02.107",
"references": [
{
"source": "cve@mitre.org",
"url": "https://github.com/gin-contrib/cors/commit/27b723a473efd80d5a498fa9f5933c80204c850d"
},
{
"source": "cve@mitre.org",
"url": "https://github.com/gin-contrib/cors/compare/v1.5.0...v1.6.0"
},
{
"source": "cve@mitre.org",
"url": "https://github.com/gin-contrib/cors/pull/106"
},
{
"source": "cve@mitre.org",
"url": "https://github.com/gin-contrib/cors/pull/57"
},
{
"source": "cve@mitre.org",
"url": "https://github.com/gin-contrib/cors/releases/tag/v1.6.0"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://github.com/gin-contrib/cors/commit/27b723a473efd80d5a498fa9f5933c80204c850d"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://github.com/gin-contrib/cors/compare/v1.5.0...v1.6.0"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://github.com/gin-contrib/cors/pull/106"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://github.com/gin-contrib/cors/pull/57"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://github.com/gin-contrib/cors/releases/tag/v1.6.0"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://lists.debian.org/debian-lts-announce/2025/08/msg00024.html"
}
],
"sourceIdentifier": "cve@mitre.org",
"vulnStatus": "Deferred",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-346"
}
],
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary"
}
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…