CVE-2019-25211
Estado: AplazadaCrítica (9.1)—
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.
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Puntuación base: 9.1
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.43%
- Percentil entre todas las CVEs puntuadas: 35
- Fecha de la puntuación: 6/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
Tecnologías afectadas (1)
⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.
CWE
- CWE-346
Referencias
- https://github.com/gin-contrib/cors/commit/27b723a473efd80d5a498fa9f5933c80204c850d
- https://github.com/gin-contrib/cors/compare/v1.5.0...v1.6.0
- https://github.com/gin-contrib/cors/pull/106
- https://github.com/gin-contrib/cors/pull/57
- https://github.com/gin-contrib/cors/releases/tag/v1.6.0
- https://github.com/gin-contrib/cors/commit/27b723a473efd80d5a498fa9f5933c80204c850d
- https://github.com/gin-contrib/cors/compare/v1.5.0...v1.6.0
- https://github.com/gin-contrib/cors/pull/106
- https://github.com/gin-contrib/cors/pull/57
- https://github.com/gin-contrib/cors/releases/tag/v1.6.0
- https://lists.debian.org/debian-lts-announce/2025/08/msg00024.html
JSON original (NVD)
Mostrar
{
"id": "CVE-2019-25211",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2019-25211",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "total"
}
],
"version": "2.0.3",
"timestamp": "2024-07-09T15:33:30.863031Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 9.1,
"attackVector": "NETWORK",
"baseSeverity": "CRITICAL",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.2,
"exploitabilityScore": 3.9
}
]
},
"affected": [
{
"source": "cve@mitre.org",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
},
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"affectedData": [
{
"cpes": [
"cpe:2.3:a:gin-contrib:cors:*:*:*:*:*:*:*:*"
],
"vendor": "gin-contrib",
"product": "cors",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "1.6.0",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
}
]
}
],
"published": "2024-06-29T00:15:02.107",
"references": [
{
"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": "cve@mitre.org"
},
{
"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",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Deferred",
"weaknesses": [
{
"type": "Secondary",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"description": [
{
"lang": "en",
"value": "CWE-346"
}
]
}
],
"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ín al final de una cadena de origen, por ejemplo, se permite https://example.community/* cuando la intención es que solo se debería permitir https://example.com/*, y se permite http://localhost.example.com/* cuando la intención es que solo se debería permitir http://localhost/*."
}
],
"lastModified": "2026-06-17T02:31:45.350",
"sourceIdentifier": "cve@mitre.org"
}