CVE-2020-26160
Public on
Last Modified:
Description
A vulnerability was found in jwt-go where it is vulnerable to Access Restriction Bypass if m["aud"] happens to be []string{}, as allowed by the spec, the type assertion fails and the value of aud is "". This can cause audience verification to succeed even if the audiences being passed are incorrect if required is set to false.
Statement
The github.com/dgrijalva/jwt-go module is an indirect dependency of the k8s.io/client-go module pulled into Quay Bridge, and Setup operators via the Operator's SDK generated code. The k8s.io/client-go module does not use jwt-go in an unsafe way [1]. Red Hat Quay components have been marked as wontfix. This may be fixed in the future.
Similar to Quay, multiple OpenShift Container Platform (OCP) containers include jwt-go as a transient dependency due to go-autorest [1]. As such, those containers do not use jwt-go in an unsafe way. They have been marked wontfix at this time and may be fixed in a future update.
Same as Quay and OpenShift Container Platform, components shipped with Red Hat OpenShift Container Storage 4 do not use jwt-go in an unsafe way and hence this issue has been rated as having a security impact of Low. A future update may address this issue.
Red Hat Gluster Storage 3 shipped multi-cloud-object-gateway-cli as a technical preview and is not currently planned to be addressed in future updates, hence the multi-cloud-object-gateway-cli package will not be fixed.
Additional Information
- This content is not included.Bugzilla 1883371: jwt-go: access restriction bypass vulnerability
- Content from cwe.mitre.org is not included.CWE-284: Improper Access Control
- FAQ: Frequently asked questions about CVE-2020-26160
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.
External References
Content from www.cve.org is not included.https://www.cve.org/CVERecord?id=CVE-2020-26160
Content from nvd.nist.gov is not included.https://nvd.nist.gov/vuln/detail/CVE-2020-26160
Content from snyk.io is not included.https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-596515
Affected Packages and Issued Red Hat Security Errata
| Products / Services | Components | State | Errata |
|---|---|---|---|
| Cryostat 2 on RHEL 8 | cryostat-20-tech-preview/cryostat-operator-bundle | Fixed | RHSA-2021:5110 |
| Cryostat 2 on RHEL 8 | cryostat-20-tech-preview/cryostat-rhel8-operator | Fixed | RHSA-2021:5110 |
| Distributed Tracing Jaeger 1 | distributed-tracing/jaeger-rhel7-operator | Not affected | |
| OpenShift Service Mesh 1 | kiali | Will not fix | |
| OpenShift Service Mesh 1 | servicemesh | Will not fix | |
| OpenShift Service Mesh 1 | servicemesh-operator | Will not fix | |
| OpenShift Service Mesh 1 | servicemesh-prometheus | Will not fix | |
| Openshift Serveless 1.13 | openshift-serverless-1/client-kn-rhel8 | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/eventing-apiserver-receive-adapter-rhel8 | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/eventing-controller-rhel8 | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/eventing-in-memory-channel-controller-rhel8 | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/eventing-in-memory-channel-dispatcher-rhel8 | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/eventing-mtbroker-filter-rhel8 | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/eventing-mtbroker-ingress-rhel8 | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/eventing-mtchannel-broker-rhel8 | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/eventing-mtping-rhel8 | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/eventing-storage-version-migration-rhel8 | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/eventing-sugar-controller-rhel8 | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/eventing-webhook-rhel8 | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/ingress-rhel8-operator | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/kn-cli-artifacts-rhel8 | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/knative-rhel8-operator | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/kourier-control-rhel8 | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/serverless-operator-bundle | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/serverless-rhel8-operator | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/serving-activator-rhel8 | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/serving-autoscaler-hpa-rhel8 | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/serving-autoscaler-rhel8 | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/serving-controller-rhel8 | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/serving-domain-mapping-rhel8 | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/serving-domain-mapping-webhook-rhel8 | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/serving-queue-rhel8 | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/serving-storage-version-migration-rhel8 | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/serving-webhook-rhel8 | Fixed | RHSA-2021:0516 |
| Openshift Serveless 1.13 | openshift-serverless-1/svls-must-gather-rhel8 | Fixed | RHSA-2021:0516 |
| Red Hat Advanced Cluster Management for Kubernetes 2 | jwt-go | Not affected | |
| Red Hat OpenShift Container Platform 3.11 | openshift3/prometheus | Not affected | |
| Red Hat OpenShift Container Platform 3.11 | atomic-openshift | Will not fix | |
| Red Hat OpenShift Container Platform 3.11 | atomic-openshift-cluster-autoscaler | Will not fix | |
| Red Hat OpenShift Container Platform 3.11 | atomic-openshift-service-idler | Will not fix | |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-service-catalog | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-oauth-apiserver-rhel8 | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-cluster-logging-operator | Fix deferred | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-baremetal-rhel9-operator | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-cloud-credential-rhel9-operator | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-kube-proxy-rhel9 | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-telemeter | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-tests | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-thanos-rhel8 | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-ansible-operator | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-cli | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-cli-artifacts | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-cluster-autoscaler-rhel9 | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-cluster-image-registry-operator | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-cluster-ingress-operator | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-coredns-rhel9 | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-deployer-rhel9 | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-descheduler | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-docker-registry-rhel9 | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-elasticsearch-operator | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-helm-rhel9-operator | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-hyperkube | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-installer | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-kube-state-metrics-rhel9 | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-metering-ansible-operator | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-metering-helm-container-rhel8 | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-metering-reporting-operator | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-openshift-apiserver-rhel9 | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-openshift-state-metrics-rhel8 | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-operator-lifecycle-manager-rhel9 | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-operator-marketplace | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-prometheus | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-ptp-operator | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-service-catalog | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-sriov-network-config-daemon-rhel9 | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-sriov-network-operator | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-sriov-network-webhook | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-tools-rhel8 | Will not fix | |
| Red Hat OpenShift Container Platform 4.7 | openshift4/ose-azure-machine-controllers | Fixed | RHSA-2020:5633 |
| Red Hat OpenShift Container Platform 4.8 | openshift4/ose-baremetal-installer-rhel8 | Fixed | RHSA-2021:2438 |
| Red Hat OpenShift Container Platform 4.8 | openshift4/ose-etcd | Fixed | RHSA-2021:2438 |
| Red Hat OpenShift Container Storage 4.7.0 on RHEL-8 | ocs4/mcg-rhel8-operator | Fixed | RHSA-2021:2041 |
| Red Hat OpenShift Container Storage 4.7.0 on RHEL-8 | mcg | Fixed | RHSA-2021:2042 |
| Red Hat OpenShift Virtualization 1 | ovs-cni-plugin | Not affected | |
| Red Hat OpenShift Virtualization 1 | virt-controller | Not affected | |
| Red Hat OpenShift Virtualization 1 | virt-cdi-apiserver | Out of support scope | |
| Red Hat OpenShift Virtualization 1 | virt-cdi-cloner | Out of support scope | |
| Red Hat OpenShift Virtualization 1 | virt-cdi-controller | Out of support scope | |
| Red Hat OpenShift Virtualization 1 | virt-cdi-importer | Out of support scope | |
| Red Hat OpenShift Virtualization 1 | virt-cdi-operator | Out of support scope | |
| Red Hat OpenShift Virtualization 1 | virt-cdi-uploadproxy | Out of support scope | |
| Red Hat OpenShift Virtualization 1 | virt-cdi-uploadserver | Out of support scope | |
| Red Hat OpenShift Virtualization 2 | hyperconverged-cluster-operator | Affected | |
| Red Hat OpenShift Virtualization 2 | node-maintenance-operator | Affected | |
| Red Hat OpenShift Virtualization 2 | bridge-marker | Not affected | |
| Red Hat OpenShift Virtualization 2 | cluster-network-addons-operator | Not affected | |
| Red Hat OpenShift Virtualization 2 | hostpath-provisioner | Not affected | |
| Red Hat OpenShift Virtualization 2 | hostpath-provisioner-operator | Not affected | |
| Red Hat OpenShift Virtualization 2 | kubevirt-metrics-collector | Not affected | |
| Red Hat OpenShift Virtualization 2 | ovs-cni-marker | Not affected | |
| Red Hat OpenShift Virtualization 2 | ovs-cni-plugin | Not affected | |
| Red Hat OpenShift Virtualization 2 | virt-cdi-apiserver | Not affected | |
| Red Hat OpenShift Virtualization 2 | virt-cdi-cloner | Not affected | |
| Red Hat OpenShift Virtualization 2 | virt-cdi-controller | Not affected | |
| Red Hat OpenShift Virtualization 2 | virt-cdi-importer | Not affected | |
| Red Hat OpenShift Virtualization 2 | virt-cdi-uploadproxy | Not affected | |
| Red Hat OpenShift Virtualization 2 | virt-cdi-uploadserver | Not affected | |
| Red Hat OpenShift Virtualization 2 | virt-controller | Not affected | |
| Red Hat OpenShift Virtualization 2 | vm-import-controller | Not affected | |
| Red Hat OpenShift Virtualization 2 | vm-import-operator | Not affected | |
| Red Hat OpenShift Virtualization 2 | kubemacpool | Will not fix | |
| Red Hat OpenShift Virtualization 2 | kubernetes-nmstate-handler | Will not fix | |
| Red Hat Quay 3 | quay-bridge-operator | Will not fix | |
| Red Hat Quay 3 | quay-setup-operator | Will not fix | |
| Red Hat Storage 3 | etcd | Will not fix | |
| Red Hat Storage 3 | heketi | Will not fix | |
| Red Hat Storage 3 | multi-cloud-object-gateway-cli | Will not fix |
Common Vulnerability Scoring System (CVSS) Score Details
Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authorities (CNA) source for its products and services (see Red Hat classifications ).
| CVSS v3 Score Breakdown | Red Hat | NVD |
|---|---|---|
| CVSS v3 Base Score | 7.5 | 7.5 |
| Attack Vector | Network | Network |
| Attack Complexity | Low | Low |
| Privileges Required | None | None |
| User Interaction | None | None |
| Scope | Unchanged | Unchanged |
| Confidentiality Impact | High | High |
| Integrity Impact | None | None |
| Availability Impact | None | None |
CVSS v3 Vector
Red Hat CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Frequently Asked Questions
Why is Red Hat's CVSS v3 score or Impact different from other vendors?
For more information, see https://access.redhat.com/solutions/762393.
My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?
- "Under investigation" doesn't necessarily mean that the product is affected by this vulnerability. It only means that our Analysis Team is still working on determining whether the product is affected and how it is affected.
- "Affected" means that our Analysis Team has determined that this product is affected by this vulnerability and might release a fix to address this in the near future.
What can I do if my product is listed as "Will not fix"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Upgrade to a supported product version that includes a fix for this vulnerability (recommended).
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
What can I do if my product is listed as "Fix deferred"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
- Red Hat Engineering focuses on addressing high-priority issues based on their complexity or limited lifecycle support. Therefore, lower-priority issues will not receive immediate fixes.
What is a mitigation?
I have a Red Hat product but it is not in the above list, is it affected?
Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?
My product is listed as "Out of Support Scope". What does this mean?
Not sure what something means? Check out our Security Glossary.