CVE-2019-25211
Go packages · CVE-2019-25211
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.431% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:26.590Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:38.102Z | OSV |
| affected | verified | 2026-11-19T12:55:19.526Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:55:19.526Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"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"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2019-25211",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2024-07-09T15:33:30.863031Z"
}
}
}
],
"affected": [
{
"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"
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-346",
"description": "CWE-346 Origin Validation Error"
}
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-03-14T18:16:31.181Z"
}
},
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/gin-contrib/cors/pull/57",
"tags": [
"x_transferred"
]
},
{
"url": "https://github.com/gin-contrib/cors/pull/106",
"tags": [
"x_transferred"
]
},
{
"url": "https://github.com/gin-contrib/cors/compare/v1.5.0...v1.6.0",
"tags": [
"x_transferred"
]
},
{
"url": "https://github.com/gin-contrib/cors/releases/tag/v1.6.0",
"tags": [
"x_transferred"
]
},
{
"url": "https://github.com/gin-contrib/cors/commit/27b723a473efd80d5a498fa9f5933c80204c850d",
"tags": [
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2025/08/msg00024.html"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2025-11-03T18:07:54.695Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-869c-j7wc-8jqv",
"aliases": [
"CVE-2019-25211",
"GO-2024-2955"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.6.0"
}
]
}
],
"package": {
"name": "github.com/gin-gonic/gin",
"purl": "pkg:golang/github.com/gin-gonic/gin",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-869c-j7wc-8jqv/GHSA-869c-j7wc-8jqv.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2019-25211",
"type": "ADVISORY"
},
{
"url": "https://github.com/gin-contrib/cors/pull/106",
"type": "WEB"
},
{
"url": "https://github.com/gin-contrib/cors/pull/57",
"type": "WEB"
},
{
"url": "https://github.com/gin-contrib/cors/commit/27b723a473efd80d5a498fa9f5933c80204c850d",
"type": "WEB"
},
{
"url": "https://github.com/gin-contrib/cors/compare/v1.5.0...v1.6.0",
"type": "WEB"
},
{
"url": "https://github.com/gin-contrib/cors/releases/tag/v1.6.0",
"type": "WEB"
},
{
"url": "https://github.com/gin-gonic/gin",
"type": "PACKAGE"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2025/08/msg00024.html",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-346"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2024-06-29T00:15:02Z",
"github_reviewed_at": "2024-07-01T21:30:24Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Go / package | github.com/gin-gonic/gin | Not a distribution channel | 1.6.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:38.102ZArchived source JSON
Source publication: 2024-06-29T06:31:40.000Z
Source modification: 2025-11-03T22:47:01.000ZDocument fingerprint
6a97659d850c8b1725117e5df66da0d1d5cd862adca961f8e0d12fa93a0cf194 - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:55:19.526ZArchived source JSON
Source publication: 2024-06-28T00:00:00.000Z
Source modification: 2025-11-03T18:07:54.695ZDocument fingerprint
40061d27fa5b2a8a6b80fe7ba249b03e6902ea0f1a0190c8997d9548f30ad79d - FIRST EPSSConsulted: 2026-11-19T16:04:26.590ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
998129b66c9b00bec5d61bf0852ac08b10eda0fe4ab0b3ac088e4b344e19b4d3
Official status history
- UNKNOWN → PUBLISHED · · evidence