9.8crit
CVE-2017-20146
Improper access control in github.com/gorilla/handlers
Also known as GHSA-jcr6-mmjj-pchw, GO-2020-0020
Published 5 y ago · modified 4 mo ago · JSON
CVSS
9.8
v3.1 · CNA
CISA KEV
No
not known exploited
EPSS
0.8%
percentile 56%
Public exploits
0
none known
Summary
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.
CISA SSVC assessment
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction (EPSS)
0.77% probability of exploitation in the next 30 days, higher than 56% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/gorilla/handlers | <1.3.0 | 1.3.0 |
Affected products
- github.com/gorilla/handlers github.com/gorilla/handlers
Classification
- Weakness
- CWE-346 Origin Validation Error
References
- github.com /gorilla/handlers/pull/116 · x_transferred
- github.com /gorilla/handlers/commit/90663712d74cb411cbef281bc1e08c19d1a76145 · x_transferred
- pkg.go.dev /vuln/GO-2020-0020 · x_transferred
- nvd.nist.gov /vuln/detail/CVE-2017-20146 · advisory
- github.com /gorilla/handlers · package
Sources
- CVE List: CVE-2017-20146
- GitHub Advisory: GHSA-jcr6-mmjj-pchw
- NVD: CVE-2017-20146
- OSV: GO-2020-0020
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.