Skip to content
Fencer Vulns
critical 9.8

CVE-2017-20146 json

Improper access control in github.com/gorilla/handlers

published 2021-04-14 5 y ago modified 2026-06-17 4 mo ago also GHSA-jcr6-mmjj-pchw , GO-2020-0020 , EUVD-2022-7663

cvss
9.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.8%
EPSS 0.8% chance of exploitation in 30 days, percentile 55%
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.

Patch / fix

  • go github.com/gorilla/handlers 1.3.0
  • github.com/gorilla/handlers github.com/gorilla/handlers 1.3.0
  • golang-github-gorilla-handlers Debian 14, Debian 13, Debian 12 1.3.0-1

debian advisories DEBIAN-CVE-2017-20146

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-20146 updated cvss 7.0

gorilla: Usage of the CORS handler may apply improper CORS headers

  • Red Hat OpenShift Container Platform 3.11 ansible-service-broker, automation-broker-apb-role, ansible-service-broker-selinux, ansible-service-broker-container-scripts
    affected: no fix planned “Out of support scope”
  • Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/logging-loki-rhel9 Red Hat Migration Toolkit for Containers rhmtc/openshift-migration-registry-rhel8 Red Hat OpenShift API for Data Protection oadp/oadp-registry-rhel8, oadp/oadp-velero-plugin-rhel8 Red Hat OpenShift Developer Tools and Services helm, jenkins-operator-container Red Hat OpenShift Serverless openshift-serverless-1/client-kn-rhel8, openshift-serverless-1/ingress-rhel8-operator, serverless-1/openshift-serverless-1-knative-client-plugin-event-sender-rhel8-container Red Hat 3scale API Management Platform 2 3scale-amp2/3scale-rhel7-operator
    +16 more products
    Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/thanos-rhel7, rhacm2/prometheus-rhel9, rhacm2/acm-grafana-rhel8, rhacm2/observatorium-rhel8, rhacm2/acm-prometheus-rhel8, rhacm2/multiclusterhub-rhel8, +11 more Red Hat Advanced Cluster Security 3 advanced-cluster-security/rhacs-main-rhel8, advanced-cluster-security/rhacs-scanner-rhel8 Red Hat Ansible Automation Platform 1.2 helm Red Hat Ceph Storage 5 rhceph/snmp-notifier-rhel8 Red Hat Enterprise Linux 8 podman, podman-tests, podman-docker, podman-remote, podman-gvproxy, podman-plugins, +2 more Red Hat Enterprise Linux 9 podman, podman-tests, podman-docker, podman-remote, podman-gvproxy, podman-plugins, +1 more Red Hat OpenShift Container Platform 3.11 atomic-openshift-dockerregistry Red Hat OpenShift Container Platform 4 podman, podman-tests, podman-docker, podman-remote, podman-gvproxy, podman-plugins, +39 more Red Hat OpenShift Container Platform Assisted Installer 1 rhai-tech-preview/assisted-installer-rhel8, rhai-tech-preview/assisted-installer-agent-rhel8 Red Hat Openshift Container Storage 4 ocs4/mcg-rhel8-operator, ocs4/ocs-rhel8-operator Red Hat Openshift Data Foundation 4 odf4/ocs-rhel9-operator, odf4/odf-rhel8-operator, odf4/odr-rhel9-operator, odf4/odf-csi-addons-sidecar-rhel8, odf4/odf-multicluster-rhel9-operator Red Hat OpenShift distributed tracing 2 rhosdt/jaeger-agent-rhel8, rhosdt/opentelemetry-collector-rhel8 Red Hat OpenShift GitOps openshift-gitops-1/dex-rhel8, openshift-gitops-1/argocd-rhel8, openshift-gitops-1/gitops-rhel8, openshift-gitops-1/kam-delivery-rhel8, openshift-gitops-1/applicationset-rhel8, openshift-gitops-1/gitops-rhel8-operator Red Hat Openshift Sandboxed Containers openshift-sandboxed-containers/osc-rhel8-operator Red Hat OpenStack Platform 16.2 rhosp-rhel8/osp-director-agent Red Hat Quay 3 quay/quay-builder-rhel8
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
18 mo ago

Exploit prediction

0.77% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).

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

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.