CVE-2017-20146
gorilla: Usage of the CORS handler may apply improper CORS headers
Overview
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.
Source: OX vulnerability database
Severity
9.8 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-346
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Go | github.com/gorilla/handlers | <1.3.0 | 1.3.0 |
Open a package to see all its vulnerabilities.
Operating systems · 7 fixes
Red Hat 1 release · 1 package
eol 1
ansible-service-broker
| Release | Package | Fixed in |
|---|---|---|
| 7 | ansible-service-broker +3 | eol |
debian 4 releases · 1 package
fixed 4
golang-github-gorilla-handlers
| Release | Package | Fixed in |
|---|---|---|
| 11 | golang-github-gorilla-handlers | 1.3.0-1 |
| 12 | golang-github-gorilla-handlers | 1.3.0-1 |
| 13 | golang-github-gorilla-handlers | 1.3.0-1 |
| 14 | golang-github-gorilla-handlers | 1.3.0-1 |
echo 1 release · 1 package
fixed 1
golang-github-gorilla-handlers
| Release | Package | Fixed in |
|---|---|---|
| golang-github-gorilla-handlers | 1.3.0-1 |
ubuntu 1 release · 1 package
affected 1
golang-github-gorilla-handlers
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | golang-github-gorilla-handlers | affected |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2017-20146
- github.com https://github.com/gorilla/handlers
- github.com https://github.com/gorilla/handlers/commit/90663712d74cb411cbef281bc1e08c19d1a76145
- github.com https://github.com/gorilla/handlers/pull/116
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2017-20146
- pkg.go.dev https://pkg.go.dev/vuln/GO-2020-0020
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2017-20146
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.