- Veröffentlicht
- 22.07.2021
- Zuletzt geändert
- 04.08.2024
- EPSS (30 Tage)
- 1.4 %
- CVSS-Vektor
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Beschreibung
Originaltext der Quelle, nicht übersetzt.
An issue was discovered in Grafana Cortex through 1.9.0. The header value X-Scope-OrgID is used to construct file paths for rules files, and if crafted to conduct directory traversal such as ae ../../sensitive/path/in/deployment pathname, then Cortex will attempt to parse a rules file at that location and include some of the contents in the error message. (Other Cortex API requests can also be sent a malicious OrgID header, e.g., tricking the ingester into writing metrics to a different location, but the effect is nuisance rather than information disclosure.)
Status beim Hersteller
Red Hat stuft seine Produktlinien ein: 2 betroffen, 2 behoben, 8 nicht betroffen.
Red Hat OpenShift Container Platform 4
Betroffenwird nicht behoben
openshift4/ose-grafana
Red Hat Openshift Container Storage 4
Betroffenaußerhalb des Supports
ocs4/mcg-rhel8-operator, ocs4/ocs-rhel8-operator
Red Hat OpenShift Container Platform 4.13
Behoben
openshift4/ose-cluster-storage-operator
RHSA-2023:3304
Red Hat OpenShift Container Platform 4.14
Behoben
openshift4/ose-cluster-storage-operator
RHSA-2023:5006
Nicht betroffen (8)
Logging Subsystem for Red Hat OpenShiftNicht betroffenverwundbarer Code nicht enthaltenopenshift-logging/logging-loki-rhel8
Red Hat Advanced Cluster Management for Kubernetes 2Nicht betroffenverwundbarer Code nicht enthaltenendpoint-monitoring-operator-container, rhacm2/acm-grafana-rhel8, rhacm2/grafana-dashboard-loader-rhel8, rhacm2/metrics-collector-rhel8, rhacm2/multicluster-observability-rhel8-operator, rhacm2/rbac-query-proxy-rhel8
Red Hat Enterprise Linux 8Nicht betroffenverwundbarer Code nicht enthaltengrafana, grafana-azure-monitor, grafana-cloudwatch, grafana-elasticsearch, grafana-graphite, grafana-influxdb, grafana-loki, grafana-mssql, grafana-mysql, grafana-opentsdb, grafana-postgres, grafana-prometheus, grafana-selinux, grafana-stackdriver
Red Hat Enterprise Linux 9Nicht betroffenverwundbarer Code nicht enthaltengrafana, grafana-selinux
Red Hat OpenShift Container Platform 4Nicht betroffenverwundbarer Code nicht enthaltenopenshift4/ose-cluster-monitoring-operator, openshift4/ose-prometheus-operator, openshift4/ose-thanos-rhel9
Red Hat OpenShift Container Platform 4.13Nicht betroffenverwundbarer Code nicht enthaltenopenshift4/cloud-network-config-controller-rhel8, openshift4/driver-toolkit-rhel9, openshift4/network-tools-rhel8, openshift4/oc-mirror-plugin-rhel8, openshift4/ose-agent-installer-api-server-rhel8, openshift4/ose-agent-installer-node-agent-rhel8, openshift4/ose-aws-ebs-csi-driver-rhel8-operator, openshift4/ose-baremetal-installer-rhel8, openshift4/ose-baremetal-rhel8-operator, openshift4/ose-baremetal-runtimecfg-rhel8, openshift4/ose-cloud-credential-operator, openshift4/ose-cluster-control-plane-machine-set-operator-rhel8, openshift4/ose-cluster-kube-controller-manager-operator, openshift4/ose-cluster-monitoring-operator, openshift4/ose-cluster-network-operator, openshift4/ose-cluster-node-tuning-operator, openshift4/ose-cluster-policy-controller-rhel8, openshift4/ose-console, openshift4/ose-console-operator, openshift4/ose-docker-builder, openshift4/ose-haproxy-router, openshift4/ose-hypershift-rhel8, openshift4/ose-image-customization-controller-rhel8, openshift4/ose-insights-rhel8-operator, openshift4/ose-installer und 27 weitere
Red Hat OpenShift Container Platform 4.14Nicht betroffenverwundbarer Code nicht enthaltenopenshift4/cloud-network-config-controller-rhel8, openshift4/driver-toolkit-rhel9, openshift4/egress-router-cni-rhel8, openshift4/kubevirt-csi-driver-rhel8, openshift4/network-tools-rhel8, openshift4/oc-mirror-plugin-rhel8, openshift4/openshift-route-controller-manager-rhel8, openshift4/ose-agent-installer-api-server-rhel8, openshift4/ose-agent-installer-csr-approver-rhel8, openshift4/ose-agent-installer-node-agent-rhel9, openshift4/ose-agent-installer-orchestrator-rhel8, openshift4/ose-agent-installer-utils-rhel8, openshift4/ose-alibaba-cloud-controller-manager-rhel8, openshift4/ose-alibaba-cloud-csi-driver-container-rhel8, openshift4/ose-alibaba-disk-csi-driver-operator-container-rhel8, openshift4/ose-alibaba-machine-controllers-rhel8, openshift4/ose-apiserver-network-proxy-rhel8, openshift4/ose-aws-cloud-controller-manager-rhel8, openshift4/ose-aws-cluster-api-controllers-rhel8, openshift4/ose-aws-ebs-csi-driver-rhel8, openshift4/ose-aws-ebs-csi-driver-rhel8-operator, openshift4/ose-aws-pod-identity-webhook-rhel8, openshift4/ose-azure-cloud-controller-manager-rhel8, openshift4/ose-azure-cloud-node-manager-rhel8, openshift4/ose-azure-cluster-api-controllers-rhel8 und 161 weitere
Red Hat Openshift Data Foundation 4Nicht betroffenverwundbarer Code nicht enthaltenodf4/mcg-rhel9-operator, odf4/ocs-rhel9-operator, odf4/odf-rhel8-operator
Weitere betroffene Pakete (2)
Gogithub.com/cortexproject/cortexkein Fix bekanntGHSA-jphm-g89m-v42p
NVDlinuxfoundation:cortexkein Fix bekanntCVE-2021-36157
Empfohlene Prüfung
- Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
- Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
- Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login) ist aus dem CVSS-Vektor abgeleitet.
Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.
Referenzen
- grafana.com/docs/grafana/latest/release-notes/
- github.com/cortexproject/cortex/pull/4375
- nvd.nist.gov/vuln/detail/CVE-2021-36157
- github.com/cortexproject/cortex/commit/d9e1f81f40c607b9e97c2fc6db70ae54679917c4
- github.com/cortexproject/cortex
- grafana.com/docs/grafana/latest/release-notes
- security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-36157.json
- access.redhat.com/security/cve/CVE-2021-36157
- bugzilla.redhat.com/show_bug.cgi
- www.cve.org/CVERecord