CVE-2019-25211
golang-github-gin-contrib-cors - security update
9.1
CRITICAL
CVSS 3.1
EPSS 0.43%
描述
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.
如何修補 CVE-2019-25211
要修補 CVE-2019-25211,請將受影響套件升級到下列已修補版本。
- —升級至 1.3.1-1+deb11u1 或更新版本
- —升級至 1.3.1-1+deb11u1 或更新版本
- —升級至 1.6.0 或更新版本
- —升級至 1.6.0 或更新版本
- —升級至 1.6.0 或更新版本
CVE-2019-25211 正在被利用嗎?
低 — EPSS 為 0.4%,目前沒有觀察到大規模利用活動。
受影響套件(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 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| 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 |