{"id":"CVE-2017-20146","state":"PUBLISHED","title":"Improper access control in github.com/gorilla/handlers","description":"Usage of the CORS handler may apply improper CORS headers, allowing the requester to explicitly control the value of the Access-Control-Allow-Origin header, which bypasses the expected behavior of the Same Origin Policy.","publishedAt":"2022-12-27T21:13:00.461Z","updatedAt":"2025-04-11T23:02:21.962Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"Go","products":["github.com/gorilla/handlers github.com/gorilla/handlers"],"affected":[{"vendor":"github.com/gorilla/handlers","product":"github.com/gorilla/handlers","packageName":"github.com/gorilla/handlers","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.3.0","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"cors.ServeHTTP"}]}],"references":["https://github.com/gorilla/handlers/pull/116","https://github.com/gorilla/handlers/commit/90663712d74cb411cbef281bc1e08c19d1a76145","https://pkg.go.dev/vuln/GO-2020-0020"],"weaknesses":[],"ingestedAt":"2026-10-29T19:43:37.076Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2017/20xxx/CVE-2017-20146.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2017-20146","state":"PUBLISHED","datePublished":"2022-12-27T21:13:00.461Z","dateUpdated":"2025-04-11T23:02:21.962Z","assignerShortName":"Go","assignerOrgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateReserved":"2022-07-29T16:07:09.685Z"},"containers":{"cna":{"title":"Improper access control in github.com/gorilla/handlers","descriptions":[{"lang":"en","value":"Usage of the CORS handler may apply improper CORS headers, allowing the requester to explicitly control the value of the Access-Control-Allow-Origin header, which bypasses the expected behavior of the Same Origin Policy."}],"affected":[{"vendor":"github.com/gorilla/handlers","product":"github.com/gorilla/handlers","packageName":"github.com/gorilla/handlers","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.3.0","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"cors.ServeHTTP"}]}],"references":[{"url":"https://github.com/gorilla/handlers/pull/116"},{"url":"https://github.com/gorilla/handlers/commit/90663712d74cb411cbef281bc1e08c19d1a76145"},{"url":"https://pkg.go.dev/vuln/GO-2020-0020"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE 284: Improper Access Control"}]}],"providerMetadata":{"shortName":"Go","orgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateUpdated":"2023-06-12T19:03:24.025Z"},"credits":[{"lang":"en","value":"Evan J Johnson"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/gorilla/handlers/pull/116","tags":["x_transferred"]},{"url":"https://github.com/gorilla/handlers/commit/90663712d74cb411cbef281bc1e08c19d1a76145","tags":["x_transferred"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0020","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T21:45:25.986Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-04-11T23:01:26.591581Z","id":"CVE-2017-20146","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-11T23:02:21.962Z"}}]}}}