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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| github.com/gorilla/handlers | github.com/gorilla/handlers | < 1.3.0 | 1.3.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | golang-github-gorilla-handlers | 1.3.0-1 | — |
| Debian 13 | golang-github-gorilla-handlers | 1.3.0-1 | — |
| Debian 12 | golang-github-gorilla-handlers | 1.3.0-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | golang-github-gorilla-handlers | No fix yet | — |
| Ubuntu 16.04 LTS | golang-github-gorilla-handlers | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/gorilla/handlers | < 1.3.0 | 1.3.0 | GHSA-jcr6-mmjj-pchw |