{"id":"UBUNTU-CVE-2017-20146","details":"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.","modified":"2025-10-24T04:46:41Z","published":"2022-12-27T22:15:00Z","upstream":["CVE-2017-20146"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-20146"},{"type":"REPORT","url":"https://github.com/gorilla/handlers/commit/90663712d74cb411cbef281bc1e08c19d1a76145"},{"type":"REPORT","url":"https://github.com/gorilla/handlers/pull/116"},{"type":"REPORT","url":"https://pkg.go.dev/vuln/GO-2020-0020"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-20146"}],"affected":[{"package":{"name":"golang-github-gorilla-handlers","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/golang-github-gorilla-handlers@0.0~git20160115.0.8f27580-0ubuntu1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20150820.0.40694b4-1","0.0~git20160115.0.8f27580-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-gorilla-handlers-dev","binary_version":"0.0~git20160115.0.8f27580-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20146.json"}},{"package":{"name":"golang-github-gorilla-handlers","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/golang-github-gorilla-handlers@1.1-3?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1-3"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-gorilla-handlers-dev","binary_version":"1.1-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20146.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}