| modules: |
| - module: github.com/gorilla/handlers |
| versions: |
| - fixed: 1.3.0 |
| packages: |
| - package: github.com/gorilla/handlers |
| symbols: |
| - cors.ServeHTTP |
| 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. |
| published: 2021-04-14T20:04:52Z |
| credit: Evan J Johnson |
| references: |
| - fix: https://github.com/gorilla/handlers/pull/116 |
| - fix: https://github.com/gorilla/handlers/commit/90663712d74cb411cbef281bc1e08c19d1a76145 |
| cve_metadata: |
| id: CVE-2017-20146 |
| cwe: 'CWE 284: Improper Access Control' |