CVE-2019-25211

CRITICAL9.1EPSS 0.39%

Gin mishandles a wildcard at the end of an origin string

發布日:2024/6/29修改日:2025/11/3
也稱為:GHSA-869c-j7wc-8jqvDEBIAN-CVE-2019-25211GO-2024-2955

描述

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.

受影響套件(5)

CVSS 分數

來源版本嚴重程度向量
osvCVSS 4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
osvCVSS 3.1CRITICAL9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

參考連結(10)