{"id":"EUVD-2024-0918","revision":"ab3353148f224a7d984e79ad67e5dcff","records":[{"revision":"ab3353148f224a7d984e79ad67e5dcff","observedAt":"2026-11-17T02:43:25.295+00:00","statement":{"source":"euvd","id":"EUVD-2024-0918","aliases":["CVE-2024-27302","GHSA-fgxv-gw55-r5fq"],"title":"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 or…","description":"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.\n","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"severity":null}],"references":["https://github.com/zeromicro/go-zero/security/advisories/GHSA-fgxv-gw55-r5fq","https://github.com/zeromicro/go-zero/commit/d9d79e930dff6218a873f4f02115df61c38b15db"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-0918","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Mar 6, 2024, 6:31:31 PM","dateUpdated":"Aug 5, 2024, 8:09:47 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2024-0918","identifiers":["EUVD-2024-0918","CVE-2024-27302","GHSA-fgxv-gw55-r5fq"]},"retained":false,"historicalAffected":[]}],"coverage":[]}