{"schema_version":"1.3.1","id":"GO-2023-1792","modified":"2024-05-20T16:03:47Z","published":"2023-06-08T18:30:06Z","aliases":["CVE-2018-20744","GHSA-927h-x4qj-r242"],"summary":"Insecure wildcard CORS policy in github.com/rs/cors","details":"The CORS handler actively converts a wildcard CORS policy into reflecting an arbitrary Origin header value, which is incompatible with the CORS security design, and could lead to CORS misconfiguration security problems.","affected":[{"package":{"name":"github.com/rs/cors","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.5.0"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/rs/cors","symbols":["AllowAll","Cors.HandlerFunc","Cors.ServeHTTP","Cors.handlePreflight","Default","New"]}]}}],"references":[{"type":"FIX","url":"https://github.com/rs/cors/pull/57"},{"type":"REPORT","url":"https://github.com/rs/cors/issues/55"}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2023-1792","review_status":"REVIEWED"}}