CVE-2019-25211
golang-github-gin-contrib-cors - security update
9.1
CRITICAL
CVSS 3.1
EPSS 0.39%
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.
How to fix CVE-2019-25211
To remediate CVE-2019-25211, upgrade the affected package to a fixed version below.
- —upgrade to 1.3.1-1+deb11u1 or later
- —upgrade to 1.3.1-1+deb11u1 or later
- —upgrade to 1.6.0 or later
- —upgrade to 1.6.0 or later
- —upgrade to 1.6.0 or later
Is CVE-2019-25211 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- from 0, < 1.3.1-1+deb11u1
- from 0, < 1.3.1-1+deb11u1
- from 0, < 1.6.0
- from 0, < 1.6.0
- from 0, < 1.6.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |