{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-27302","published":"2024-03-06T19:15:08.330000Z","last_modified":"2026-06-17T07:19:36.433000Z","status":"Analyzed","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-639"],"cpes":[{"criteria":"cpe:2.3:a:go-zero:go-zero:*:*:*:*:*:*:*:*","part":"a","vendor":"go-zero","product":"go-zero","version_end_excluding":"1.4.4"}],"cpes_truncated":false,"vendors":["go-zero"],"products":["go-zero/go-zero"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"epss":{"score":0.00846,"percentile":0.55526,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-fgxv-gw55-r5fq","ecosystem":"Go","name":"github.com/zeromicro/go-zero","purl":"pkg:golang/github.com/zeromicro/go-zero","ranges":[{"introduced":"0","fixed":"1.4.4"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2024-2604","ecosystem":"Go","name":"github.com/zeromicro/go-zero","purl":"pkg:golang/github.com/zeromicro/go-zero","ranges":[{"introduced":"0","fixed":"1.4.4"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2024-27302/","html_en":"/en/cve/CVE-2024-27302/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-27302","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-27302"},"untrusted":{"vendor_name":"Go-zero","product_name":"Go-zero","desc_en":"go-zero is a web and rpc framework. Go-zero allows user to specify a CORS Filter with a configurable allows param - which is an array of domains allowed in CORS policy. However, the `isOriginAllowed` uses `strings.HasSuffix` to check the origin, which leads to bypass via a malicious domain. This vulnerability is capable of breaking CORS policy and thus allowing any page to make requests and/or retrieve data on behalf of other users. Version 1.4.4 fixes this issue.","affected":[{"untrusted_vendor":"zeromicro","untrusted_product":"go-zero","versions":[]}],"references":[{"url":"https://github.com/zeromicro/go-zero/commit/d9d79e930dff6218a873f4f02115df61c38b15db","tags":["Patch"]},{"url":"https://github.com/zeromicro/go-zero/security/advisories/GHSA-fgxv-gw55-r5fq","tags":["Exploit","Vendor Advisory"]}]}}